11,897 questions with Microsoft Graph-related tags

Sort by: Updated
3 answers One of the answers was accepted by the question author.

GraphServiceClient error: Either scp or roles claim need to be present in the token.

A bit of context: My goal is to have an app running on Azure that will eventually access SharePoint sites in different tenants. The idea is that once authorized, this app will connect to all tenants using the same app id and secret. A multi-tenant…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,897 questions
asked 2024-01-12T16:14:48.25+00:00
Emerson Brito 21 Reputation points
commented 2024-09-23T11:24:00.65+00:00
Navaneeth 0 Reputation points
1 answer

How to get a message using Graph from a mailbox using data in an email header

I want to use the details found when you view an email message as source (headers, spam results, body content etc) to ping the Graph API to retrieve certain details of the message. This would be done with an app that has application permissions. It would…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,897 questions
asked 2024-09-17T18:25:41.45+00:00
Sounds Essential 0 Reputation points
commented 2024-09-23T11:12:25.35+00:00
Rohit Raghuwanshi - MSFT 240 Reputation points Microsoft Vendor
1 answer

How to stop default mail triggers when creating an calendar events using microsoft graph API's?

I'm trying to create calendar events using the below endpoint, https://graph.microsoft.com/v1.0/me/events and HTTP method used is POST, here i want to stop the default email invitations sent to the recipients of the events because it is spamming the…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,897 questions
asked 2024-09-17T07:06:37.5766667+00:00
Shankar Guru Jawahar 0 Reputation points
answered 2024-09-23T11:00:00.95+00:00
Hitesh Pachipulusu - MSFT 1,490 Reputation points Microsoft Vendor
1 answer

OneNote Graph API - Shared Notebook

Hello, We've been trying to retrieve data (pages content) via the OneNote Graph API from a shared notebook which is located on a SharePoint site without success, even though we are able to access the notebook via the app, as well as the SharePoint…

OneNote
OneNote
A family of Microsoft products that enable users to capture, organize, and reuse notes electronically.
195 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,897 questions
asked 2024-09-20T09:45:32.23+00:00
Rahma Ksouri 0 Reputation points
answered 2024-09-23T10:53:24.15+00:00
Rohit Raghuwanshi - MSFT 240 Reputation points Microsoft Vendor
0 answers

presence: setStatusMessage - Throws 401 error

Hey, I am trying to use Graph API to set the status message of another user. I tried it via PowerShell and Graph Explorer and both ways gave me the same error. "message": "Cannot set the presence of another user. Authenticated user: I…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,897 questions
asked 2024-09-23T10:29:04.72+00:00
Schellner, Toni 0 Reputation points
1 answer

microsoft event subscription

Hi, i have a problem with microsoft subscription API. I use: "resource" => "/users/{$userId}/events", "changeType" => "created,updated,deleted", https://graph.microsoft.com/v1.0/subscriptions This…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,897 questions
asked 2024-08-23T08:45:31.44+00:00
Peter Baričák 0 Reputation points
answered 2024-09-23T10:18:32.4633333+00:00
Peter Baričák 0 Reputation points
0 answers

Removing meeting blob for an online meeting does not remove the online meeting details

I'm integrating our production app with Outlook calendar and encountered this issue. I'm using a personal outlook account with skype as the online meeting provider and tried to update an online meeting to an offline meeting. I was using the update event…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,897 questions
asked 2024-09-23T10:13:51.6966667+00:00
Regina George 0 Reputation points
edited the question 2024-09-23T10:15:36.2733333+00:00
Regina George 0 Reputation points
1 answer

Not able to upload an image to this url from postman PUT https://graph.microsoft.com/v1.0/users/31fc68b3-57e5-4812-83e9-a6859392b5e0/photo/$value

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,897 questions
asked 2024-09-11T16:19:32.7733333+00:00
nas shk 0 Reputation points
commented 2024-09-23T09:45:55.3133333+00:00
CarlZhao-MSFT 41,291 Reputation points
1 answer

graph.microsoft.com api to raise group access request that can though myaccess.microsoft.com approval process

I want to use myaccess.microsoft.com programmatically. but it do't have apis, it say that i can use graph.microsoft.com api . but when i am using graph.microsoft.com api , it give below error. i want to use graph.microsoft.com api to raise group access…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,897 questions
Access
Access
A family of Microsoft relational database management systems designed for ease of use.
382 questions
Microsoft Entra Private Access
Microsoft Entra Private Access
Microsoft Entra Private Access provides secure and deep identity-aware, Zero Trust network access to all private apps and resources.
63 questions
asked 2024-09-17T20:49:55.56+00:00
Garothaya, Sanjay 0 Reputation points
answered 2024-09-23T09:19:19.2666667+00:00
ETH-msftep 1 Reputation point
1 answer One of the answers was accepted by the question author.

Graph retention label api returns failed to contact DataInsights in EOP error with application permission

We are getting 500 error from https://graph.microsoft.com/v1.0/security/labels/retentionLabels when we use application permission. The error is as below. And the https://graph.microsoft.com/v1.0/security/labels/retentionLabels/{LabelId} Api works ok. …

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,897 questions
asked 2024-09-20T10:38:43.3666667+00:00
Xinzhao Zhang 20 Reputation points
accepted 2024-09-23T08:23:45.28+00:00
Xinzhao Zhang 20 Reputation points
2 answers

Suddenly getting "UserPrincipal doesn't have the key ID configured"

I have an ongoing automation that executes various calls to the MS API Recently I've started to fail with the following message below. In this case, reauthenticating helped solve the issue but it seems like the 'refresh token' timed out for some…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,897 questions
asked 2024-09-17T07:22:17.95+00:00
itay4 36 Reputation points
answered 2024-09-23T07:54:10.9466667+00:00
itay4 36 Reputation points
1 answer

Why API extract from user folder doesnt show sent items. but they have sent items in their mailbox

Hi, I am extracting folders for each user from API extract. I cannot see some user's sent items folder. They have this folder available in their outlook but somehow , it doesnt appear in extract . Why ? I can see inbox , archive , deleted items but sent…

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
4,779 questions
Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
6,680 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,897 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,484 questions
Microsoft Endpoint Manager Training
Microsoft Endpoint Manager Training
Microsoft Endpoint Manager: A Microsoft endpoint management platform that incorporates System Center Configuration Manager and Intune and provides endpoint security, device management, and intelligent cloud actions.Training: Instruction to develop new skills.
11 questions
asked 2024-09-20T12:46:52.6733333+00:00
Saira Munir 0 Reputation points
edited an answer 2024-09-23T07:24:08.6866667+00:00
CarlZhao-MSFT 41,291 Reputation points
2 answers

Unable to create Azure Custom Role using JSON and the PoweShell New-AzRoleDefinition ?

When I execute the below PowerShell script to create a custom Azure Role based on the specific JSON content below. Script: $paramNewAzRoleDefinition = @{ InputFile = C:\Custom.JSON Verbose = $true Debug = $true } New-AzRoleDefinition…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,897 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,998 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,475 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,484 questions
asked 2024-09-11T07:30:52.85+00:00
EnterpriseArchitect 5,376 Reputation points
commented 2024-09-23T07:10:03.72+00:00
EnterpriseArchitect 5,376 Reputation points
1 answer

Microsoft graph api while posting comments gives missing header Client-Request-Id even though its passed

When trying to post comment on a word document using the microsoft workbook comments api getting https://graph.microsoft.com/v1.0/sites/{siteid}/drive/items/{itemid}/workbook/comments Error message:…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,897 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,870 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.
2,953 questions
asked 2024-09-21T00:00:13.1633333+00:00
Pradeep Gopal 0 Reputation points
answered 2024-09-23T06:52:27.0166667+00:00
Hitesh Pachipulusu - MSFT 1,490 Reputation points Microsoft Vendor
0 answers

Suddenly gets UnknownError using the /search/acronym endpoint

As from Monday 16th I constantly get an error when trying to connect to the acronym endpoint: https://learn.microsoft.com/en-us/graph/api/resources/search-acronym I have not changed anything in the way I connect or anything and it worked when I left…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,897 questions
asked 2024-09-19T07:11:59.0866667+00:00
Lundkvist Peter 0 Reputation points
commented 2024-09-23T05:56:20.54+00:00
Lundkvist Peter 0 Reputation points
1 answer

Teams Analytics

One of my users has a Microsoft Teams, and he is the owner of a team with various channels. When the user selects a channel and clicks "Manage channel," they can see the Analytics tab. In the Analytics tab, the user can check the channel's…

Microsoft Exchange Online
Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,995 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,897 questions
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,494 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,220 questions
asked 2024-09-22T06:55:58.2666667+00:00
Rising Flight 4,376 Reputation points
commented 2024-09-23T05:54:45.71+00:00
Robin Sheng-MSFT 2,810 Reputation points Microsoft Vendor
0 answers

What Graph API permissions are required to provision an external user to an app?

I want to invite an external user to an app, and want to set up the appropriate permissions in order to automate the process. Following the documentation this is what I have so far. I'm just wondering if there's a piece of the puzzle missing. By…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,897 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,484 questions
asked 2024-09-22T12:31:39.3533333+00:00
Houston Haynes 0 Reputation points
commented 2024-09-23T05:19:50.2633333+00:00
Rohit Raghuwanshi - MSFT 240 Reputation points Microsoft Vendor
2 answers

Is it possible to create tenant level allow/block in Microsoft 365 via Graph API?

There is a method via Powershell that requires the Exchange.Manage permission and Exchange Administrator assigned role on a Service Principal. This method requires to connect to Exchange Online first and then running the New-TenantAllowBlockListItems…

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
4,779 questions
Microsoft Exchange Online
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,897 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,475 questions
asked 2024-09-18T22:10:56.57+00:00
Chan, Alan 0 Reputation points
commented 2024-09-23T05:17:54.6466667+00:00
Bruce Jing-MSFT 4,190 Reputation points Microsoft Vendor
2 answers

Unable to get a Microsoft Graph Token

I am a user in the Azure tenant directory, trying to get a Token to send a message to a Teams channel. I can do that via Microsoft Graph Explorer. When I use a Token that Microsoft Graph generates I can send a message to Teams channel via curl and…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,897 questions
asked 2024-09-19T12:06:13.2466667+00:00
Suberri, Moshe [GTSUS] 0 Reputation points
answered 2024-09-23T02:56:51.62+00:00
CarlZhao-MSFT 41,291 Reputation points
1 answer

Sharepoint permissions

Hi All,I have a SharePoint site, let's call it "tempsite," and I have generated a Client ID using the following URL: https://contoso.sharepoint.com/sites/tempsite/_layouts/15/appregnew.aspx I have assigned permissions to the Client ID using…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,897 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.
2,953 questions
asked 2024-09-19T22:29:36.2166667+00:00
Roger Roger 5,796 Reputation points
commented 2024-09-23T02:56:19.7166667+00:00
Xyza Xue_MSFT 24,101 Reputation points Microsoft Vendor