Graph failure when using a hyphen (-) in a site name or a document library name in SharePoint Online
Title: Graph failure when using a hyphen (-) in a site name or a document library name in SharePoint Online Description: I encountered an error while verifying the following query in the Microsoft Graph Explorer: Successful Query: When I send the…
I'm trying to use Microsoft Graph API in Powershell to pull a list of sharepoint sites a user is Owner of but I am getting a (403) Forbidden error
I've created an App in Entra so I can use it to give me a list of sharepoint sites a certain user is owner of. I have used Copilot to help me write the powershell script and I have all the needed permissions on my account to do what I need. Soon as I run…
Getting "Insufficient Privilege" error while trying to delete an user through API
When I try to delete an user who is part either a role or group or app , I am getting insufficient privilege error in the response Token is generated through client creds and app has the following permission
![](https://techprofile.blob.core.windows.net/images/pBV9r8HlP0ejtt8UsdEh6Q.png?8D93F6)
Lifetime validation failed, the token is expired.
hi team, we are getting error "Lifetime validation failed, the token is expired." from microsoft graph api. access_token, refresh_token both and id_token all are valid for user. ExeptionType => …
Update Group throws error when updating hideFromOutlookClients and hideFromAddressLists properties
After January 15 request to update groups properties hideFromAddressLists or hideFromOutlookClients ends up with error response: ErrorInternalServerError Message: An internal server error occurred. The operation failed., The value is set to empty…
Using document_url parameter and site_id can we identify whether a particular document is inside a Document library or not
In SharePoint we can create a Documents inside the site itself or we can create a new Document library inside the site and create the file inside that. When a document has been created inside a Document library we got a document_url like below, ex:…
Endpoints to remove Entity Relationships from the User
I need to remove the relationship entity from the user like Group memberships, Applications, Assigned roles, Assigned licenses, Group ownership and App ownership. Is there any endpoint available. If not , can someone share the steps to handle this
![](https://techprofile.blob.core.windows.net/images/pBV9r8HlP0ejtt8UsdEh6Q.png?8D93F6)
Why are /subscription endpoints of Graph API randomly returning 401 ?
I'm trying to subscribe to OneDrive changes by sending a POST request to https://graph.microsoft.com/v1.0/subscriptions in Spring with the following body: { "changeType": "updated", "notificationUrl": "%s", …
I want to create a user in UserInformationList using the email (retrieved from GET /users/{id | userPrincipalName}).
I need to create a new item in SharePoint using a Logic App. I'm using the HTTP connector and an authentication token obtained from a POST request to https://login.microsoftonline.com/tenant/oauth2/v2.0/token. In my SharePoint list, some columns are of…
ErrorNonExistentStorage: Acessing service failed when loading user photo
I'm loading user's photo using .NET client for Microsoft Graph: Stream? pictureStream = await graphClient.Users[adminID].Photo.Content.GetAsync() The graph client does have the necessary permissions: But I am getting an exception with message…
Token issuer for API is sts.windows.net instead of the required login.microsoftonline.com issuer.
Within my IOS app, I am acquiring a token silently for my API App Registration from Microsoft that has an sts.windows.net issuer instead of the required login.microsoftonline.com issuer. The access token that I am getting initially from Microsoft Entra…
MS Planner Graph API - Planner Task Details Not Being Created via HTTP request
I'm using Google Apps Script to create tasks in Microsoft Planner with HTTP requests. I can create a task but can't create or update the task description. Initially, I've tried populating the task description in the initial post request to create the…
Issues with Microsoft Graph API and MSAL Authentication Flow in C#
I'm experiencing challenges with the authentication flow for my SaaS application written in C#. The goal is to implement a secure and efficient process allowing users to log in and authorize my backend to access their Microsoft contacts. Here’s the…
Graph failure when using a hyphen (-) in a site name or a document library name in SharePoint Online
Title: Graph failure when using a hyphen (-) in a site name or a document library name in SharePoint Online Description: I encountered an error while verifying the following query in the Microsoft Graph Explorer: Successful Query: When I send the…
Using the Graph CLI, How can I find all events in a date range *including* recurring instances?
I'm using a command like mgc users events list --user-id me --filter "start/dateTime ge '2025-02-13T05:00:00Z' and end/dateTime le '2025-02-14T05:00:00Z'" to retrieve as JSON my events for a day. However, this only surfaces events that are…
Has anyone managed to update the Entra name for an Android for work device
I can rename a fully managed android but not an android for work $Device = Get-MgDeviceManagementManagedDevice -ManagedDeviceId "12345-1245-4118-a41d-0dac089b3101"|select * Set-MgBetaDeviceManagementManagedDeviceName -ManagedDeviceId…
Getting 404 from GraphAPI although the sharepoint document can be open and edit
This was an issue faced by one of the users who uses my Add-in. The user has a SharePoint document that has been shared with him and he can Open the document and edit as well. But when he tries to open the Add-in it gives 404 error. I investigated this…
How to fetch folder content under a list?
We are using the sharepoint API but its not working and having issues with pagination. We did the analysis and found that with sharepoint skip does not works and we need to use the graph API but we were unable to find the corresponding API. Please help…
Graph API to fetch the folder content available in sharepoint list
I am looking for graph api to fetch folder content available in sharepoint list. We are using the below API with different folder params but we are getting error message "General exception while processing". Please share an alternate or…
How to fix a missing SharePoint Online Client Extensibility Web Application Principal Helper app registration in your tenant?
One of our customers is missing the SharePoint Online Client Extensibility Web Application Principal Helper app registration in Microsoft Entra. The SharePoint Online Client Extensibility Web Application Principal however is available. Now Authorization…