logo
down
shadow

Trying to get profile info using Sharepoint and Microsoft Graph api


Trying to get profile info using Sharepoint and Microsoft Graph api

By : Andreslt90
Date : November 22 2020, 02:42 PM
it helps some times When you query the user entity (or /me), Graph returns a default set of properties (the ones you see above). We're doing this because the user entity contains a truckload of properties, and we want to make sure we're somewhat efficient here (since there's cost to serialize and deserialize a bunch of properties over the wire). In order to get other properties (including SharePoint profile properties) that aren't in the default set, you need to use $select=propName1,propName2 in the querystring. To see the full list go here: https://graph.microsoft.io/docs/api-reference/v1.0/resources/user. We're also looking at introducing $select=* to get all properties too.
As for why mail and officeLocation aren't populated. The mail property is set under certain conditions (like the user is assigned a license that gives them a mailbox). OfficeLocation is null unless it is set for a user.
code :


Share : facebook icon twitter icon
List Microsoft Sharepoint Sites with Microsoft Graph

List Microsoft Sharepoint Sites with Microsoft Graph


By : Icculus
Date : March 29 2020, 07:55 AM
To fix this issue This isn't possible yet. You need to use the direct SharePoint API end point to access content from SharePoint Sites.
Graph API supports accessing OneDrive, OneDrive for Business, and the document library for an Office 365 Group only.
Get SharePoint user ID and profile of an SP site with MS graph api

Get SharePoint user ID and profile of an SP site with MS graph api


By : luckeychap C
Date : March 29 2020, 07:55 AM
wish of those help I believe the Microsoft Graph currently only lets you query SharePoint sites, lists, and list items. Have you tried using the Microsoft Graph to query the User Information list?
Here is a sample of the service call that you need. You'll need to provide your user information list's guid and the Display name of the user. //graph.microsoft.com/v1.0/sites/root/lists/{user info list guid}/items?$select=Fields&$filter=Fields/Title eq 'Alex Wilber'&$expand=Fields
microsoft graph - permissions info on file in one drive - how to get additional info

microsoft graph - permissions info on file in one drive - how to get additional info


By : Shinkotzu
Date : March 29 2020, 07:55 AM
will be helpful for those in need Try using the beta endpoint - you can point to it using the SDK by following this answer (the answer is for C# but it should apply to Java as well). The SDK may not have the properties on it, but they should be available in the AdditionalData property.
issues Retrieving users profile picture from microsoft outlook account via Microsoft Graph 365 API in PHP

issues Retrieving users profile picture from microsoft outlook account via Microsoft Graph 365 API in PHP


By : Brenda Millar
Date : March 29 2020, 07:55 AM
wish help you to fix your issue Am trying to get microsoft outlook mail users profile photos using microsoft 365 graph API. , You're almost there. What you want to use is
code :
https://graph.microsoft.com/v1.0/me/photo/$value
Differences between Sharepoint REST API and Microsoft Graph Sharepoint API

Differences between Sharepoint REST API and Microsoft Graph Sharepoint API


By : 김인형
Date : March 29 2020, 07:55 AM
With these it helps Across all the Microsoft 365 services, teams are moving towards making all functionality available on the Microsoft Graph API. Currently, not all functionality is available on the Microsoft Graph.
My recommendation is to try and do what you are trying to do using Microsoft Graph API. If the feature is not there yet, then fall back to the SharePoint REST API and make sure the team knows you need that feature on the Microsoft Graph.
Related Posts Related Posts :
shadow
Privacy Policy - Terms - Contact Us © animezone.co