13,110 questions with Microsoft Graph-related tags

Sort by: Updated
1 answer

How to not send the mail to the group mailbox in conversation replies?

Hello, I am building an application in which using Graph API. I was able to create a conversation using this code, and it is not sending any mail. const newConversation = { topic: `Comments on task "${task.title}"`, threads:…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,110 questions
asked 2025-02-20T12:26:04.5566667+00:00
Bikram Jeet Singh 25 Reputation points
commented 2025-02-21T17:27:01.4866667+00:00
Akhil Nasalwai - MSFT 500 Reputation points Microsoft Vendor
1 answer

Initials value not visible in Outlook when using Graph API to Create a Contacts

Hello, When Creating a contact using below URL: https://graph.microsoft.com/v1.0/users/[UserID]/contactFolders/[ContactFolderID]/contacts With this Body: { "displayName": "John Doe", "fileAs": "Doe",…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,110 questions
asked 2025-02-20T10:13:00.36+00:00
Christophe REGARD 0 Reputation points
answered 2025-02-21T17:25:11.0433333+00:00
Akhil Nasalwai - MSFT 500 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Audit MFA for M365 users. Finding users with Microsoft Authenticator - Outlook Mobile.

Hello, I use "Get-MgUserAuthenticationMethod" to get all configured methods for each user. However, as it turned out, this method shows "Microsoft Authenticator - Outlook Mobile" as "Microsoft Authenticator". Unfortunately,…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,110 questions
asked 2025-02-20T22:42:56.9866667+00:00
Mountain Pond 1,506 Reputation points
commented 2025-02-21T16:47:41.7+00:00
Denys Pasternak 0 Reputation points
0 answers

Graph module 2.26.0 for PowerShell error with internetMessageHeaders sending email

I have some scripts which send email via Graph using Send-MgUserMail. Today I upgraded the module in PowerShell (latest v7 at time of writing) to 2.26.0 When I tried to run my script I received an exception: [RequestBodyRead] : The property…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,110 questions
asked 2025-02-21T15:58:45.7366667+00:00
Damon Thomas 0 Reputation points
0 answers

Creating presence subscription for more than 650 users using MS Graph APIs

I want to know the Teams user Presence change and for that we are using MS Graph API create subscription. https://learn.microsoft.com/en-us/graph/api/subscription-post-subscriptions?view=graph-rest-1.0&tabs=http Create subscription API…

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,898 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,110 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,579 questions
asked 2022-08-08T09:34:49.927+00:00
Prajakta Kenjale 31 Reputation points
edited a comment 2025-02-21T15:53:53.9+00:00
Misa Kamenovic 0 Reputation points
1 answer One of the answers was accepted by the question author.

403 error when calling Graph API endpoint for /users

I'm encountering an error where it looks like my application has no permissions even though I have permitted access to call Microsoft Graph in the App Registration. The graph endpoint I'm trying to reach is: https://graph.microsoft.com/v1.0/users When I…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,110 questions
asked 2025-02-20T10:01:24.8533333+00:00
Asger Busk Breinholm 20 Reputation points
commented 2025-02-21T14:31:59.0733333+00:00
Asger Busk Breinholm 20 Reputation points
0 answers

SharePoint 2016 on premise mailing issue "Relay access denied"

This is regarding the mailing issue we are facing in our SharePoint 2016 on-premise environment. My organization does not allow anonymous authentication for external SMTP servers. We are no longer using a virtual SMTP server and are only allowed to use…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,110 questions
asked 2025-02-21T14:22:54.44+00:00
Lazy Bee 0 Reputation points
2 answers

Application requires admin consent, it keeps getting approved but nothing

Hello, One of our enterprise clients on Microsoft is trying to do the OAuth flow for our application ID but is facing an approval wall. The user is prompted with the window 'Approval required'. They fill in the 'Enter justification for requesting this…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,110 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,334 questions
asked 2025-02-19T10:40:20.8933333+00:00
Ron Danenberg 0 Reputation points
commented 2025-02-21T12:47:54.3666667+00:00
Janaki Kota 710 Reputation points Microsoft Vendor
1 answer

endpoint returning 403 even after admin consent

We are attempting to test the endpoint in the Microsoft Graph API Explorer; however, it is returning a 403 error despite the provision of admin consent, which is also evident in the…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,110 questions
asked 2025-02-20T14:43:14.49+00:00
Chanakya Sankritayayana 10 Reputation points
answered 2025-02-21T10:36:01.4333333+00:00
CarlZhao-MSFT 45,496 Reputation points
0 answers

Getting the contents of the recycle bin from msgraph fails

Hello there, I'm trying to use msGraph to get the content of a recycle bin I'm using a request like this using app permissions https://learn.microsoft.com/en-us/graph/api/filestoragecontainer-list-recyclebinitem?view=graph-rest-1.0 so this request : GET…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,110 questions
asked 2025-02-21T10:04:39.8133333+00:00
Rémi Picot 0 Reputation points
0 answers

Getting the contents of the recycle bin from msgraph fails

Hello there, I'm trying to use msGraph to get the content of a recycle bin I'm using a request like this using app permissions https://learn.microsoft.com/en-us/graph/api/filestoragecontainer-list-recyclebinitem?view=graph-rest-1.0 so this request : GET…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,110 questions
asked 2025-02-21T10:03:09.03+00:00
Rémi Picot 0 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,110 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,323 questions
asked 2025-02-14T05:09:40.69+00:00
GSH-1402 105 Reputation points
commented 2025-02-21T09:47:36.1366667+00:00
Emily Du-MSFT 50,411 Reputation points Microsoft Vendor
2 answers

AADSTS65005: The application 'api:/xxxxxxxxxxxxxxxx' asked for scope 'windchill' that doesn't exist.

Getting this error: AADSTS65005: The application 'api:/xxxxxxxxxxxxxxxx' asked for scope 'windchill' that doesn't exist.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,110 questions
asked 2025-02-21T07:32:24.0966667+00:00
Kumar, Sourav 0 Reputation points
answered 2025-02-21T09:23:54.73+00:00
CarlZhao-MSFT 45,496 Reputation points
1 answer

want to set for europe can you please help in setting the timezone.

I want to set for europe can you please help in setting the timezone. Like its this Prefer: outlook.timezone="Pacific Standard Time" I want for Central European Summer time in the API. PLease tell the same as passing Central European Summer…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,110 questions
asked 2025-02-20T08:58:53.9066667+00:00
Mansi Gusain 210 Reputation points
answered 2025-02-21T09:00:49.8966667+00:00
Saranya Madhu-MSFT 1,650 Reputation points Microsoft Vendor
0 answers

How to submit a batch request using directoryObject: getByIds - question attempt 2

I submitted this question once before but no follow-up... So I'll try again with different wording and hope the meaning gets through. My application uses Microsoft Graph API. We'd like to perform batch requests to grab a large number of AD users via the…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,110 questions
asked 2025-02-21T08:50:09.4366667+00:00
Haneef Mohd Fairuz 0 Reputation points
1 answer One of the answers was accepted by the question author.

How can i get the recurring events as well?

Hi I am using the API- /me/events , I am able to get the events in my calendar but certain events do not come up. The ones encircled yellow, are not fetched, the top most long red line is recurring meeting and the testing actions is some sort of…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,110 questions
asked 2025-02-20T12:00:25.9066667+00:00
Mansi Gusain 210 Reputation points
commented 2025-02-21T08:10:53.2566667+00:00
Mansi Gusain 210 Reputation points
2 answers One of the answers was accepted by the question author.

Internal Server Error when sending test email

Hello. I recently got started with Microsoft Graph API. What I need is to send mails with application-type Permission. Currently I'm testing the API, trying to send test email with Application Permission Mail.Send. I'm getting the access token without…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,110 questions
asked 2025-02-20T21:52:59.6866667+00:00
Hornir91 0 Reputation points
accepted 2025-02-21T06:56:21.03+00:00
Hornir91 0 Reputation points
1 answer

See all the files shared with a specific user

Dear community, As we have many department changes withing our company we need to know which files are shared with which user in order to be able to clean things up. Is there a way to see all the files shared with a specific user? I can see the…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,110 questions
asked 2021-10-26T11:46:37.213+00:00
Oliver Martin 6 Reputation points
commented 2025-02-21T06:37:12.88+00:00
Admin User 0 Reputation points
2 answers

Permissions Needed to Access User Data Based on UPN

An app registration has been created with the permissions: User.Read and User.Read.All. This has been confirmed with a screen capture from the admin. A token has been successfully obtained and passed when accessing…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,110 questions
asked 2025-02-19T00:44:41.19+00:00
Greg Schumacher (DDB Technology) 0 Reputation points
commented 2025-02-21T06:00:35.67+00:00
Yakun Huang-MSFT 10,095 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

All users api

Hi , I am using the /users api to get the domains and ids of my colleague now what is happening is that I do use the api- /me/events and try getting my events so in the response i am able to view other users events how can i customize it? please help . I…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,110 questions
asked 2025-02-19T17:10:12.6666667+00:00
Mansi Gusain 210 Reputation points
commented 2025-02-21T05:44:53.94+00:00
Yakun Huang-MSFT 10,095 Reputation points Microsoft Vendor