10,729 questions with Microsoft Graph-related tags

Sort by: Updated
0 answers

Graph API does not return a contact which was created when user was onprem, now in Azure AD

The Microsoft Graph API V1 fails to retrieve contacts with phone numbers (personal contacts) created when the user account resided in the on-premises Active Directory (AD). Although the user account has since been migrated to Azure AD, Outlook…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,707 questions
asked 2024-05-10T01:49:52.25+00:00
Guru J 0 Reputation points
0 answers

Unable to get Get a client ID in Microsoft Graph quick start

I am trying to download a sample at https://developer.microsoft.com/en-us/graph/quick-start? but after clicking Get a client ID and successfully login with organization account (with Multi-factor Outlook authentication) I am keep getting errors like…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,707 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,640 questions
asked 2024-05-10T00:26:06.1366667+00:00
Michael Freidgeim 21 Reputation points
1 answer

Get-MgUserAuthenticationMethod Command doesn't return any information

I am trying to build a PowerShell script we can use to run hourly that would basically look for users who have recently signed up for Multifactor Authenticator or have Authenticator setup on their account in general and then add them to the group that…

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.
5,566 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,707 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,096 questions
asked 2024-05-09T17:27:25.7166667+00:00
Miranda-5426 0 Reputation points
commented 2024-05-09T21:22:25.9133333+00:00
Rich Matheisen 45,096 Reputation points
1 answer

How to set the Outlook Email Sensitivity using API Call

{ "message": { "subject": "Meet for lunch?", "body": { "contentType": "Text", "content": "The new cafeteria is open." }, …

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,707 questions
asked 2024-05-08T18:19:29.1166667+00:00
sud, sud 0 Reputation points
answered 2024-05-09T20:53:06.3266667+00:00
Hitesh Pachipulusu - MSFT 80 Reputation points Microsoft Vendor
1 answer

How to post messages on a channel

I have a multi-tenant Microsoft Teams tab app. I want it to post messages on a selected channel from my server. I successfully receive the token using this endpoint: https://login.microsoftonline.com/{TENANT_ID}/oauth2/v2.0/token Then, I use the token to…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,707 questions
asked 2024-05-08T19:54:04.64+00:00
Roman 0 Reputation points
commented 2024-05-09T20:44:28.41+00:00
Roman 0 Reputation points
1 answer

How to set the Outlook Email Sensitivity using API Call

Trying to set the sensitivity of an outbound Email using following API. No error. Email is sent/received successfully. But Message sensitivity is NOT set to "Secure" as expected. {   "message": {     "subject": "Mail…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,707 questions
asked 2024-05-08T15:52:54.43+00:00
sud, sud 0 Reputation points
answered 2024-05-09T20:26:36.78+00:00
CharanyaB-MSFT 1,421 Reputation points Microsoft Vendor
1 answer

Adding Scopes to a registered Service Principal

Hi there, We have a registered Service Principal (Enterprise Application) being used by several users granting us delegated permissions. We'd like to add an additional application (not delegated) permission to this service principal. For context, it…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,707 questions
asked 2024-05-09T19:34:17.8433333+00:00
Ivan Zeljkovic 20 Reputation points
answered 2024-05-09T20:05:39.91+00:00
Andy David - MVP 142.3K Reputation points MVP
0 answers

How can I look up a user's manager with the MSGraph Java SDK (unattended)?

For a bit of background, I am writing a Java app to run as a module in an older, legacy java application that was set up to use LDAP for directory services. I've registered an application in Entra and provided the least privileges so it can read the…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,707 questions
asked 2024-05-09T19:50:18.4666667+00:00
Brad Ellis 0 Reputation points
1 answer

How to set the Outlook Email Sensitivity using API Call ?

Trying to set the sensitivity of an outbound Email using following API. No error. Email is sent/received successfully. But Message sensitivity is NOT set to "Secure" as expected. Pls help. {   "message": {     "subject":…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,707 questions
asked 2024-05-08T15:51:01+00:00
sud, sud 0 Reputation points
answered 2024-05-09T19:26:30.6366667+00:00
CharanyaB-MSFT 1,421 Reputation points Microsoft Vendor
0 answers

In Microsoft Graph Service SDK 6, how do I retrieve the User's Custom Attribute?

As of Microsoft Graph SDK 5, the way I retrieved a User's custom attribute information was the following: final var attribute = graphClient.users("Some_Azure_ID").buildRequest().select("Some_Custom_Attribute").get(); I have upgraded…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,707 questions
asked 2024-04-05T17:40:42.15+00:00
Kevin Guan 25 Reputation points
edited a comment 2024-05-09T18:17:46.89+00:00
Kevin Guan 25 Reputation points
1 answer

Unable to filter emails by multiple categories with Graph

Hello, I am trying to filter emails by multiple categories with Microsoft Graph, but I'm not able to get it to work. I found this thread which gives me a query to filter by category 1 OR category…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,707 questions
asked 2024-05-07T06:47:39.59+00:00
Rafa 0 Reputation points
answered 2024-05-09T17:21:15.4533333+00:00
Carolyne-3676 201 Reputation points
1 answer

Microsoft Graph {user-id}/calendar/events returns 403 even though I've been given read access

Making a call to {user-id}/calendar/events is returning a 403, even though the specified user has given read access to their calendar.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,707 questions
asked 2024-05-08T21:51:27.9233333+00:00
Ryan 0 Reputation points
edited a comment 2024-05-09T16:24:54.6466667+00:00
Ryan 0 Reputation points
0 answers

MSAL Login Redirect Issue

When i am changing my loginPopup to loginRedirect its not working

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.
5,566 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,707 questions
asked 2024-05-09T16:05:24.5666667+00:00
BANU Mahira 0 Reputation points
0 answers

How can I create subscriptions for multiple Outlook email accounts?

I am working on an application that may have millions of users in the future. Currently, I have implemented an Azure event hub and Microsoft Graph API to subscribe to the Outlook inbox change event, and the script successfully captures that change event…

Outlook
Outlook
A family of Microsoft email and calendar products.
3,038 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,707 questions
Azure Event Hubs
Azure Event Hubs
An Azure real-time data ingestion service.
563 questions
asked 2024-05-09T15:51:52.1266667+00:00
Pathum Jayasuriya 0 Reputation points
1 answer

ClientSecretCredential authentication failed

This is my code FolioFactory folioFactory = new FolioFactory(); ConfigOneDrive objOneDrive = folioFactory.ConsultarConfigOneDrive(e => e.IdEntity == IdEntity).FirstOrDefault(); var scopes = new[] { "https://graph.microsoft.com/.default"…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,707 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,299 questions
asked 2024-05-06T21:32:48.83+00:00
Mario Malvido 0 Reputation points
commented 2024-05-09T15:16:40.57+00:00
Mario Malvido 0 Reputation points
1 answer

Graph API: ManagedDevices not updating Primary User when changed from the Intune Portal

I've noticed that if I change the primary user for a device in the Intune Portal, that change is not reflected when making a Get request to "https://graph.microsoft.com/v1.0/devicemanagement/manageddevices/<deviceID>" Oddly, though, if I…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,707 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,394 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,096 questions
asked 2024-05-08T15:42:14.6566667+00:00
Michael DiGregorio 1 Reputation point
commented 2024-05-09T13:22:05.71+00:00
Michael DiGregorio 1 Reputation point
3 answers

How can I enable Chat communication between external users and Microsoft Teams users through the Teams desktop app ?

Hello Microsoft team, I've successfully integrated Microsoft Teams calling into my web application using Azure Communication Services and Microsoft Graph. However, I'm encountering difficulties enabling chat communication between external users…

Azure Communication Services
Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
691 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,707 questions
asked 2024-04-12T17:21:52.6666667+00:00
Satish Bellare 0 Reputation points
edited an answer 2024-05-09T12:54:02.7033333+00:00
ajkuma 22,521 Reputation points Microsoft Employee
1 answer

How do we Integrate the Microsoft Planner with my Web Application

Hello Team, I have a requirement where I need to integrate Microsoft Planner in My Web Application, not a SharePoint Site. Just Like what we have to Integrate with Teams similarly, I need to Integration with My Web Application. Need Help on Both the …

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,707 questions
asked 2024-05-03T11:10:01.49+00:00
Chethan Ramesh 0 Reputation points
edited a comment 2024-05-09T11:26:02.15+00:00
Chethan Ramesh 0 Reputation points
3 answers

While get user’s list of followed sites (using application permissions). By calling GET /me/followedSites endpoint gives "access denied”

Hi team, I was trying to get user’s list of followed sites (using application permissions). But calling GET /me/followedSites endpoint gives "access denied” and not able to know the root cause for this issue. Is something know issue or is it…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,707 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,728 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,685 questions
SharePoint Workflow
SharePoint Workflow
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Workflow: An orchestrated and repeatable pattern of business activity, enabling data transformation, service provision, and information retrieval.
513 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,576 questions
asked 2024-05-07T07:03:46.88+00:00
Tanvi Mittal 0 Reputation points
commented 2024-05-09T10:41:17.3233333+00:00
Shantanu Singh 0 Reputation points
1 answer

Issue with move folder API in Microsoft Graph when Email ID contains "/"

When attempting to move a folder using the following endpoint: Endpoint: https://graph.microsoft.com/v1.0/me/messages/{EmailId}/move I'm encountering an error when the EmailId parameter contains a "/" symbol. Despite trying to encode the Email…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,707 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,299 questions
asked 2024-05-09T04:23:23.2433333+00:00
Waqar Ahmed 0 Reputation points
answered 2024-05-09T10:01:30.9033333+00:00
CarlZhao-MSFT 37,296 Reputation points