12,799 questions with Microsoft Graph-related tags

Sort by: Updated
1 answer

Graph API - got invalid user error with a valid user-id

I queried /users to get my user-id, and able to get the user info with /users/{my-id}. But when I query /users/{my-id}/mailFolders, I got the below error message in both my app using app permission and graph explorer. The requested user 'xxxxxxxxx' is…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,799 questions
asked 2025-01-18T17:43:48.93+00:00
Jason Leung 0 Reputation points
commented 2025-01-19T02:58:00.6866667+00:00
Jason Leung 0 Reputation points
1 answer

How to send email through client id and secret with tenant id instead of SMTP in PHP Laravel 9 technology

Hi , I am developer , i want to send email through the client id and secret with tenant id without SMTP , Can you please tell me that how to send email to any other person like test@gmail.com in PHP Laravel 9 technology , Or provide any reference so…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,799 questions
asked 2025-01-17T12:45:45.8666667+00:00
Chandrakesh Pandey 1 Reputation point
answered 2025-01-18T13:40:39.2366667+00:00
Kavya 160 Reputation points
2 answers One of the answers was accepted by the question author.

Onedrive Authorization Issue

Hi Support Team, We encounter the problem "Need admin approval" when we try to authorize OneDrive using oauth 2.0. The below urls are used Auth URL: https://login.microsoftonline.com/common/oauth2/v2.0/authorize Access Token…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,799 questions
OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
1,266 questions
OneDrive Management
OneDrive Management
OneDrive: A Microsoft file hosting and synchronization service.Management: The act or process of organizing, handling, directing or controlling something.
1,325 questions
asked 2025-01-03T05:45:14.4766667+00:00
Mageshwari SS 20 Reputation points
edited a comment 2025-01-18T12:43:34.58+00:00
Mageshwari SS 20 Reputation points
0 answers

Clarification on Using /sendActivityNotification API for Rich Content in Microsoft Teams

I have a question regarding the /sendActivityNotification API in Microsoft Graph. In this documentation, under the section "You can use activity feed notifications to do the following:", it mentions "Show rich content in a Tab app or…

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,680 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,799 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,485 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,898 questions
asked 2025-01-16T06:25:03.01+00:00
石川 敦己 65 Reputation points
edited a comment 2025-01-18T11:42:04.2566667+00:00
石川 敦己 65 Reputation points
1 answer

assign comment or suggestive changes role to a user in sharing a word doc to a user

https://learn.microsoft.com/en-us/graph/api/driveitem-invite?view=graph-rest-1.0&tabs=http in documentation there are only 2 roles listed in read and write i want to share a word document using this api in comment/suggestive-mode role (like if i am…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,799 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,201 questions
asked 2025-01-16T13:22:11.8266667+00:00
Rajesh Jha 0 Reputation points
commented 2025-01-18T11:05:01.8533333+00:00
Rajesh Jha 0 Reputation points
1 answer

MS Graph WorkbookApplication/Calculate API With Application Permissions

Hello, We are interested in using the API call here: https://learn.microsoft.com/en-us/graph/api/workbookapplication-calculate with Application permissions. It is ran on an internal server without needing a user auth workflow. A similar thread is here:…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,799 questions
Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
2,088 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.
4,158 questions
asked 2025-01-09T18:48:58.86+00:00
Tommy He 5 Reputation points
commented 2025-01-18T02:19:48.2566667+00:00
Tommy He 5 Reputation points
2 answers

OAuth JWT issuer (sts.windows.net) is different from the one exptected and listed in the endpoints (login.microsoft.com)

Hi all We are trying to implement a new API which use OpenID Connect and OAuth2.0 to grant the API calls. Wa can successfully make the /authorize and /token calls on Microsoft bur the JWT we get in return has an issuer (sts.windows.net) which is…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,799 questions
asked 2024-05-16T14:42:37.4966667+00:00
Jean-François RIVES (Admin) 10 Reputation points
commented 2025-01-18T02:03:48.5066667+00:00
Philip Wheat 0 Reputation points
1 answer One of the answers was accepted by the question author.

Graph group API difference between v1.0 and beta for creationOptions

Hi there. I'm an eng from planner client team. We have usage of group api which pulls group/{groupid} and getting the key creationOptions to determine some logic based on the results from v1.0. But after switching to beta, the key is not there anymore…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,799 questions
asked 2025-01-16T17:58:15.78+00:00
Spark Wang 20 Reputation points Microsoft Employee
commented 2025-01-17T21:42:57.9433333+00:00
Spark Wang 20 Reputation points Microsoft Employee
2 answers

Getting "This API is supported only for scheduled or recurring" when accessing meeting recording

I have as Subscription set to: change: 'created' resource: 'users/{userId}/onlineMeetings/getAllRecordings' I have two meetings scheduled in my calendar: May 5th August 5th Now for both events when I join and record it I'm getting correct…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,799 questions
asked 2024-08-13T11:27:32.1466667+00:00
Marcin Gorczynski 5 Reputation points
commented 2025-01-17T20:04:28.41+00:00
KalyanSarla-MSFT 5 Reputation points
2 answers

Entra External ID (External Tenant): How to send an email notification/invitation to local user created via "Create User" endpoint of Graph API

Hello everyone, We are in the process of migrating our authentication provider from Auth0 to MS Entra External ID for External Tenants (B2C). We have a couple of workflows we need to replicate in MS Entra External ID, particularly Create User and Reset…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,799 questions
Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,987 questions
asked 2025-01-08T11:53:33.8666667+00:00
Suraj 0 Reputation points
answered 2025-01-17T19:26:32.1933333+00:00
Akhilesh Vallamkonda 11,030 Reputation points Microsoft Vendor
0 answers

How to retrieve Date of Birth (DOB) for users in Default Azure Active Directory (non-B2C) using Microsoft Graph API?

I am working on an application where I need to retrieve basic user information, including Name, Email, and Date of Birth (DOB), from Microsoft Graph API. However, I am encountering challenges, particularly with accessing the DOB attribute in a Default…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,799 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,898 questions
asked 2025-01-04T09:05:53.67+00:00
Vinicius Dreher 0 Reputation points
commented 2025-01-17T19:11:58.33+00:00
Harshitha Eligeti 1,370 Reputation points Microsoft Vendor
1 answer

$filter does not work on /solutions/virtualEvents/webinars/{webinarId}/registrations endpoint

Hello, I'm trying to implement the Microsoft Teams Webinar endpoint to retrieve registrants. The docs show that it supports the filter param, but I'm having some issues with getting this working.…

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,680 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,799 questions
asked 2025-01-17T10:54:20.68+00:00
Justin A 0 Reputation points
answered 2025-01-17T18:04:34.7666667+00:00
Akhil Nasalwai - MSFT 165 Reputation points Microsoft Vendor
0 answers

how to fix the profile image from azure is not sync after integration of sso to slack

I recently integrated SSO from azure to slack and other application we have in the company. everything is working well except the pictures from azure is not sync to the apps integrated. if someone could help me to resolve this one will really help.…

Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
1,048 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,799 questions
asked 2025-01-17T16:00:35.4266667+00:00
Administrator Liberty Hill 0 Reputation points
2 answers One of the answers was accepted by the question author.

WARNING: Unable to acquire token for tenant 'organizations' with error 'InteractiveBrowserCredential authentication failed: Method not found: 'Void Microsoft.Identity.Client.Extensions.Msal.MsalCacheHelper.RegisterCache(Microsoft.Identity.Client.ITokenCa

Hi Team, Can someone here please assist me with this error to connect my PowerShell session using the Connect-AzAccount ? PS C:\WINDOWS\system32\WindowsPowerShell\v1.0> Connect-AzAccount WARNING: Unable to acquire token for tenant 'organizations' with…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,799 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,744 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,898 questions
asked 2023-08-08T13:25:14.0933333+00:00
EnterpriseArchitect 5,536 Reputation points
commented 2025-01-17T15:02:29.9766667+00:00
Pratul Kumar Patel 0 Reputation points
2 answers One of the answers was accepted by the question author.

Programmatically activate my Entra ID assigned role from PIM using PowerShell

I usually go to this page: https://entra.microsoft.com/?feature.msaljs=true#view/Microsoft_Azure_PIMCommon/ActivationMenuBlade/~/aadmigratedroles/provider/aadrolesto activate it via GUI.  How can I programmatically activate my Entra ID assigned role from…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,799 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,744 questions
Microsoft Entra
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,898 questions
asked 2024-08-16T11:17:04.49+00:00
EnterpriseArchitect 5,536 Reputation points
edited a comment 2025-01-17T14:32:40.3466667+00:00
quantumquark 0 Reputation points
0 answers

How to read IRM protected excel file using graph api from backend code

We have a requirement to programmatically read IRM Protected excel file with Graph API using a backend process which is a AWS Lambda function. Below setup works fine to read an excel file which doesnt have any protection. Azure app registration has…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,799 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
11,069 questions
asked 2025-01-17T14:11:37.0333333+00:00
1 answer

How to fix IDX14102: Unable to decode the header '[PII of type 'Microsoft.IdentityModel.Logging.SecurityArtifact' is hidden. For more details, see https://aka.ms/IdentityModel/PII.]' as Base64Url encoded string.

Hello! i am in a logicapp and i want to create files in a sharepoint drive. So first I create a token based on a app registration id, this one succeed. But the next action failed with the error: => Error 401 Unauthorized,…

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,313 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,799 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,201 questions
asked 2025-01-15T16:37:43.2166667+00:00
Diane König 5 Reputation points
commented 2025-01-17T11:40:19.6433333+00:00
Sina Salam 15,396 Reputation points
1 answer

Outlook addin - how to get unique new event id

Hi, We are developing an Outlook addin, and we want to save an event id for a new Outlook event so we can associate the new event with the state of our app. We read that the Outlook API does provide unique event id but only if the event is…

Outlook
Outlook
A family of Microsoft email and calendar products.
4,320 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,799 questions
Outlook Management
Outlook Management
Outlook: A family of Microsoft email and calendar products.Management: The act or process of organizing, handling, directing or controlling something.
5,408 questions
asked 2025-01-16T12:07:23.4333333+00:00
Dimitrios Gkiokas 20 Reputation points
commented 2025-01-17T11:24:00.8633333+00:00
Dimitrios Gkiokas 20 Reputation points
0 answers

Issue with sideloading Outlook Add-In due to 'webApplicationInfo' element Resource domain configuration.

We are developing a React.js based Outlook add-in, hosted at https://cmicpublish.cmicglobal.com/cmicdev/outlookplugin and have successfully initialized Office.js APIs. Our goal is to use the Office.context.auth.getAccessToken API to acquire an access…

Office
Office
A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.
1,839 questions
Outlook
Outlook
A family of Microsoft email and calendar products.
4,320 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,799 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.
4,158 questions
Outlook Management
Outlook Management
Outlook: A family of Microsoft email and calendar products.Management: The act or process of organizing, handling, directing or controlling something.
5,408 questions
asked 2024-11-13T14:58:10.83+00:00
Suraj Sinha 5 Reputation points
edited a comment 2025-01-17T10:34:01.8533333+00:00
ventura 0 Reputation points
0 answers

How to get a notification when Teams online meeting has started

Hi I am trying to subscribe to online meeting call events. I am using MS Graph Python SDK and a GraphServiceClient to post the subscription request. I have subscription for new event creation and when this happens I check whether it is on online meeting…

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,680 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,799 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,485 questions
asked 2025-01-15T15:22:30.7166667+00:00
Nyan Cat 0 Reputation points
edited a comment 2025-01-17T10:04:03.65+00:00
Nyan Cat 0 Reputation points