13,045 questions with Microsoft Graph-related tags

Sort by: Updated
1 answer

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,045 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
11,203 questions
asked 2025-02-14T06:35:26.12+00:00
Cha, Inhwan (HPPK SW RnD) 0 Reputation points
answered 2025-02-14T09:38:18.33+00:00
Yakun Huang-MSFT 9,935 Reputation points Microsoft Vendor
2 answers

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,045 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,809 questions
asked 2025-02-13T13:23:20.0133333+00:00
Joe Moorcroft 0 Reputation points
commented 2025-02-14T09:28:07.1866667+00:00
Joe Moorcroft 0 Reputation points
2 answers

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

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,291 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,045 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
23,237 questions
asked 2025-02-13T09:05:08.3433333+00:00
A V 0 Reputation points
edited an answer 2025-02-14T09:22:59.6166667+00:00
CarlZhao-MSFT 45,186 Reputation points
1 answer

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 => …

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,045 questions
asked 2025-02-13T10:12:34.84+00:00
Abhishek Shrivastav 0 Reputation points
answered 2025-02-14T09:10:47.6933333+00:00
Saranya Madhu-MSFT 1,425 Reputation points Microsoft Vendor
2 answers

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,045 questions
asked 2025-01-23T14:20:47.96+00:00
Maksym Hryshakov 20 Reputation points
commented 2025-02-14T09:00:22.5933333+00:00
Maksym Hryshakov 20 Reputation points
1 answer

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:…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,045 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
3,289 questions
asked 2025-02-14T05:09:40.69+00:00
GSH-1402 85 Reputation points
answered 2025-02-14T08:59:31.86+00:00
Emily Du-MSFT 50,006 Reputation points Microsoft Vendor
1 answer

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

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
754 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,045 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
23,237 questions
asked 2025-02-14T06:23:26.8166667+00:00
A V 0 Reputation points
edited an answer 2025-02-14T08:13:23.1333333+00:00
CarlZhao-MSFT 45,186 Reputation points
1 answer

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", …

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,045 questions
asked 2025-02-12T09:25:04.8633333+00:00
Marianne Abi Kanaan 5 Reputation points
answered 2025-02-14T08:01:35.2533333+00:00
Saranya Madhu-MSFT 1,425 Reputation points Microsoft Vendor
0 answers

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…

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,345 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,045 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
11,203 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
3,289 questions
SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,632 questions
asked 2025-02-11T09:39:02.3566667+00:00
Nandi, Sulagna 0 Reputation points
commented 2025-02-14T07:43:16.39+00:00
Shireesha Eeraboina 1,715 Reputation points Microsoft Vendor
1 answer

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,045 questions
asked 2025-02-13T06:29:30.6233333+00:00
Peter Dräxler 0 Reputation points
commented 2025-02-14T07:17:20.0366667+00:00
Yakun Huang-MSFT 9,935 Reputation points Microsoft Vendor
1 answer

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,045 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
23,237 questions
asked 2025-02-11T22:27:04.7033333+00:00
KGarvin 0 Reputation points
commented 2025-02-14T06:52:19.1966667+00:00
Kancharla Saiteja 625 Reputation points Microsoft Vendor
1 answer

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,045 questions
asked 2025-02-12T03:25:42.92+00:00
aaloang 0 Reputation points
commented 2025-02-14T06:43:29.8566667+00:00
Yakun Huang-MSFT 9,935 Reputation points Microsoft Vendor
1 answer

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,045 questions
asked 2025-02-10T11:51:34.4866667+00:00
Florian Weidinger 0 Reputation points
commented 2025-02-14T06:33:00.0033333+00:00
Yakun Huang-MSFT 9,935 Reputation points Microsoft Vendor
0 answers

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,045 questions
asked 2025-02-14T06:32:47.74+00:00
Cha, Inhwan (HPPK SW RnD) 0 Reputation points
1 answer

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,045 questions
asked 2025-02-13T16:34:08.3966667+00:00
Bertalan, Tom 0 Reputation points
commented 2025-02-14T06:23:37.2966667+00:00
Yakun Huang-MSFT 9,935 Reputation points Microsoft Vendor
1 answer

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,045 questions
Microsoft Intune Android
Microsoft Intune Android
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Android: An open-source mobile platform based on the Linux kernel, developed by Google, and maintained by the Open Handset Alliance.
342 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
5,552 questions
asked 2025-02-14T03:03:39.6966667+00:00
Darren Duvall (Anticimex Global) 0 Reputation points
edited an answer 2025-02-14T05:43:24.1366667+00:00
Xenia-MSFT 4,065 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,045 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
11,203 questions
asked 2025-02-12T09:47:18.8233333+00:00
GSH-1402 85 Reputation points
accepted 2025-02-14T05:02:23.29+00:00
GSH-1402 85 Reputation points
1 answer

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,045 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
11,203 questions
asked 2025-02-13T09:11:10.98+00:00
ajay kumar 0 Reputation points
answered 2025-02-14T02:26:22.66+00:00
RaytheonXie_MSFT 38,956 Reputation points Microsoft Vendor
1 answer

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,045 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
3,289 questions
asked 2025-02-13T09:19:44.9233333+00:00
ajay kumar 0 Reputation points
answered 2025-02-14T01:23:43.06+00:00
Emily Du-MSFT 50,006 Reputation points Microsoft Vendor
1 answer

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,045 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
3,289 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
23,237 questions
asked 2025-02-07T10:39:21.1433333+00:00
Ad van den Berg 1 Reputation point
commented 2025-02-14T01:22:59.1166667+00:00
AllenXu-MSFT 23,666 Reputation points Microsoft Vendor