Error: 401 - FileOpenUserUnauthorized - Graph API - OneDrive personal account
Hi, We are integrated with OneDrive and Sharepoint to Read and Write Excel files using Graph API. We are facing a problem, recently, in some users' accounts that use OneDrive with personal account type(not work and neither school). Some operations…
SharePoint Graph API - access subfolders not under default Shared Documents folder for a site
We are able to access the folders/subfolders under the default "Shared Documents" folder for a site using below sites URI https://graph.microsoft.com/v1.0/sites/site_id/drive/root/children…
List MS Team Member added/Joined date
Other than using Graph API /auditLogs/directoryAudits, is there another API in MS Graph to find a user (member) was added to a MS Team? I'm trying to get this info in a Power Automate flow for reporting purpose which will be in Power BI.
How to get phone number of teams user
We have MS Teams with few users in it with Phone Number Configured for each users. (https://admin.teams.microsoft.com/) These users are also available on the Active Directory. We want to get the user's teams Phone Number using the MS Graph…
Microsoft Graph API returns no data or unexpected errors for Viva Learning
Hello, I'm exploring options to create a custom learning management system for my company. The first thing I would like to do is to pull data from Microsoft Viva Learning via the Microsoft Graph API, for example to see which courses the employees have…
Error "The DeveloperEmail field is required." when setting up Graph Data Connect
Hello, I'm trying to set up Graph Data Connection using this tutorial: https://github.com/microsoftgraph/dataconnect-solutions/tree/main/solutions/ona/PreRequisites Unfortunately, I cannot finalize the process, because when I click on "Create",…
Using SharePoint API or Graph API how can I extract who visited a SharePoint site page and when?
I've come across a few articles which talk about extracting the SharePoint site usage information using the relevant APIs. So my problem is that the API's I see do not give the required level of granularity I need to be able to create useful report,…
How to Create Online Meeting and Sent Invitation to Participants using Graph API
I need assistance in creating an online meeting for my upcoming online session. I want to add participants while setting up the meeting, but I'm unsure about the process. Are there any API endpoints or references available to achieve this? Specifically,…
How MS Graph API works when $filter and $top query params used together
I am using MS Graph API for fetch group chats of users with below details: Endpoint: /users/<user-id>/chats?filter=chatType+eq+%27group%27&$top=1 Here ideal expectation is that, it shoul filter all the chats first and then return first record,…
DELETE https://graph.microsoft.com/v1.0/users/XXXX/contacts/XXX not working in Graph Explorer
Forbidden - 403 - 268 ms. Either the signed-in user does not have sufficient privileges, or you need to consent to one of the permissions on the Modify permissions tab Permissions are granted. Contacts.ReadWrite Answer: { "error": { …
Is their a graph API for microsoft teams admin, where I can assign a phone number to a user?
So, I am trying to find an API so that our customer can assign a phone number from our system, and it will call a graph API that would assign the phone number to their users. Is there away? because we don't want our customer to manually setup everything…
How to calculate the identity/apps/device/data security scores from the data obtained from the Graph api query?
Can we calculate the identity , apps, data & device scores from this data that we obtain from the secure score query using graph api? "averageComparativeScores": [ { "basis": "AllTenants", …
GET /users throws InternalServerError with 200 status code and POST /users UnknownError with 405 status code
GET v1.0/users?$select=id,delet... throws…
SharePoint File Permissions Properties and User Granting Mechanisms
Hello! I have a requirement to fetch permissions for files stored in SharePoint. Most of my work is done, but I'm struggling to identify some properties available in the permission resource. I need to understand how these properties can be accessed for…
Graph API Create documentSetVersions in a List
Hi, I am trying to create a documentSetVersions using the POST API ("sites/{site-id}/lists/{list-id}/items/{item-id}/documentSetVersions"). Below is the body in JSON format being send to API. { "comment": "put your comments…
Checkout of DriveItem in SharePoint using Graph API
Unable to get the success response of checkout of DriveItem in SharePoint using GraphAPI. https://learn.microsoft.com/en-us/graph/api/driveitem-checkout?view=graph-rest-1.0&tabs=http Error: 404 Not Found. Error Message: The resource could not be…
Graph API for managed devices list is not working
I have an application which queries deviceManagement/managedDevices API to fetch all the devices. I have given all the right permission as mentioned in the documentation. I am able to fetch access Token but when I used this access token to do a GET, I…
InvalidRequest with OneDrive delta API
We are developing a service to synchronize drives using the OneDrive API. We are utilizing delta links to retrieve the next set of changes by saving either the @odata.nextLink or @odata.deltaLink from the response and polling every few minutes to…
Powershell new user issue
Hello. I am currently trying to learn the basics of using Powershell with Office365 and one of those is creating a new user. I enter the below code as a test: new-msoluser -UserPrincipalName "HYang@mirador.com" -DisplayName "Harp Yan"…
/graph.microsoft.com/v1.0/me/calendarView iCalUid response is empty
We found that the iCalUId of some customers is empty, which caused us to encounter some problems when obtaining the calendar of this customer Most of the users in our response have iCalUId, but some users do not have iCalUId, so under what circumstances…