12,436 questions with Microsoft Graph-related tags

Sort by: Updated
1 answer

Sending Messages with Group Tags in MS Teams Channel - Missing Role `Teamwork.Migrate.All`

I am trying to send messages with group tags to a Microsoft Teams channel. So far, I have tested webhooks and adaptive cards, both of which allow me to send messages, but unfortunately, they do not support group tagging. I found that Microsoft Graph API…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,436 questions
asked 2024-11-05T22:08:47.88+00:00
Suparerk Angkawattanawit 0 Reputation points
commented 2024-11-29T09:41:11.36+00:00
CarlZhao-MSFT 43,011 Reputation points
1 answer

Grant admin consent to user_impersonation for azure service management

Getting above error.can anybody suggest correct resource id for azure service management

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,436 questions
asked 2024-11-05T12:58:35.77+00:00
Prashant Chacko (c) 60 Reputation points
commented 2024-11-29T09:40:02.41+00:00
CarlZhao-MSFT 43,011 Reputation points
2 answers

Why is error: 400 occuring? 400 {'error': {'code': 'BadRequest', 'message': "'user@odata.bind' field is missing in the request.", 'innerError': ...

# Here is a snippet of my code. Why is error 400 occuring: ie 400 {'error': {'code': 'BadRequest', 'message': "'user@odata.bind' field is missing in the request.", 'innerError': {'date': '2024-11-13T22:20:30', 'request-id': '5675829f-5a',…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,436 questions
asked 2024-11-13T22:28:11.6833333+00:00
Michael Wilcox 26 Reputation points
commented 2024-11-29T09:34:14.6733333+00:00
CarlZhao-MSFT 43,011 Reputation points
0 answers

Access token generation problem

we are trying to integrate one drive in our salesforce platform so that we have purchased trail pack for development purpose and registeres app in the zure portal to get the client id and secret and also having the subscription id using these credentials…

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.
7,302 questions
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,010 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,436 questions
OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
1,177 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,289 questions
asked 2024-11-29T09:30:24.31+00:00
Ashok U 0 Reputation points
1 answer

Automatically Update Permission with Graph Api

Hello Community, I m having issues adding permissions in the API permissions. Basically following this guide: …

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,436 questions
asked 2024-11-18T16:27:48.3433333+00:00
Michele Massetti 0 Reputation points
commented 2024-11-29T09:29:24.0766667+00:00
CarlZhao-MSFT 43,011 Reputation points
2 answers

Error "The caller must be one of the members specified in request body" when creating one-on-one chat

I'm encountering an issue while attempting to create a one-on-one chat in Microsoft Teams using the Microsoft Graph API. Here's the error response I'm receiving: "code": "BadRequest", "message": "The caller must be one…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,436 questions
asked 2024-11-20T09:45:06.35+00:00
Ruben 0 Reputation points
commented 2024-11-29T09:27:34.0566667+00:00
CarlZhao-MSFT 43,011 Reputation points
1 answer

Unverified email domains and authenticationBehaviors for Oauth

I was looking at https://learn.microsoft.com/en-us/graph/applications-authenticationbehaviors?tabs=http. That article discusses a potential security problem involving unverified emails. How do we check if an email claim from an Oauth authentication…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,436 questions
asked 2024-11-20T22:59:47.26+00:00
Chris 0 Reputation points
commented 2024-11-29T09:25:21.55+00:00
CarlZhao-MSFT 43,011 Reputation points
1 answer

Cant able to get all properties of user by using Graph API in C# ?

Code Line => User user = await graphClient.Users[userObjectId].Request().GetAsync().ConfigureAwait(false); I can able to fetch Green highlighted one but other than that getting null in "user1" (code line) object. question => Is…

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.
7,302 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,436 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.
11,081 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,381 questions
asked 2024-11-21T10:26:25.2533333+00:00
Venkatesh Naik 20 Reputation points
edited a comment 2024-11-29T09:24:06.4233333+00:00
CarlZhao-MSFT 43,011 Reputation points
1 answer

How to subscribe to sharepoint site/page changes?

Hi, we were wondering if there are possibilities to subscribe to sharepoint site/page changes. Sharepoint sites&pages aren't listed in the graph subscription overview…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,436 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,095 questions
asked 2024-11-26T13:39:51.05+00:00
Jonas 0 Reputation points
commented 2024-11-29T09:23:42.4433333+00:00
Emily Du-MSFT 47,851 Reputation points Microsoft Vendor
1 answer

Challenge in Verifying Attendee Participation in Microsoft Teams Meetings

When creating a meeting using the CreateMeetingWithHttpClient method, the response we receive only includes a single meetingUrl. All participants, including the admin and attendees, access the meeting using the same link. However, if an attendee joins…

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,428 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,436 questions
asked 2024-11-27T11:42:22.44+00:00
onyore 40 Reputation points
commented 2024-11-29T09:22:18.85+00:00
LiweiTian-MSFT 21,295 Reputation points Microsoft Vendor
1 answer

Graph API token generation failed. Device is not in required device state: compliant.

{ "error": "interaction_required", "error_description": "AADSTS53000: Device is not in required device state: compliant. Conditional Access policy requires a compliant device, and the device is not compliant.…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,436 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,381 questions
asked 2024-11-24T12:08:16.7166667+00:00
Patel, Binod 0 Reputation points
commented 2024-11-29T09:20:23.7566667+00:00
CarlZhao-MSFT 43,011 Reputation points
2 answers

How to set saveToSentItems as false for content type as mime for send mail graph api

How to set saveToSentItems as false for content type as mime? https://learn.microsoft.com/en-us/graph/api/user-sendmail?view=graph-rest-1.0&tabs=http#request-body

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,436 questions
asked 2024-11-25T07:16:28.43+00:00
Uthsa Banerjee 0 Reputation points Microsoft Employee
commented 2024-11-29T09:19:32.2966667+00:00
CarlZhao-MSFT 43,011 Reputation points
0 answers

How to create a sharepoint current user context using

I am trying to create the current user's SharePoint context using the following details: Client ID Tenant ID Certificate I am using UseOpenIdConnectAuthentication and ClaimsPrincipal for this process. Specifically, I want to understand if it's…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,955 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,436 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,530 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,913 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,095 questions
asked 2024-11-29T08:08:23.1666667+00:00
Anmol Chourasia 0 Reputation points
edited the question 2024-11-29T09:16:21.05+00:00
Anmol Chourasia 0 Reputation points
1 answer

Unauthorized Error (401) with Microsoft Graph API: Limitation in Posting Messages to Teams

I am encountering an issue while attempting to send a reply via the Microsoft Graph API. The operation fails with a 401 error, indicating that message posting in application-only context is restricted to import purposes. Granted API Permissions and…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,436 questions
asked 2024-11-26T13:48:46.9466667+00:00
Emmanuel Moshood 0 Reputation points
commented 2024-11-29T09:15:01.9633333+00:00
CarlZhao-MSFT 43,011 Reputation points
1 answer

Need graph api call full code for pushing notification for particullar user in C# console app

Hello, I am not able to find the full code or latest code that will send notification to the user from c# console application.Need your help please. I have tried this link…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,436 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.
11,081 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,387 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,381 questions
asked 2024-11-26T14:43:50.52+00:00
Mayur 0 Reputation points
commented 2024-11-29T09:14:16.25+00:00
CarlZhao-MSFT 43,011 Reputation points
1 answer

Does Graph Security eDiscovery API support client_credentials grant type?

I am testing Security eDiscovery graph API. The API works with authorization_code grant_type. However, when I use client_credentials grant_type, the APIs fail and return below error: { "error": { "code": "Unauthorized",…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,436 questions
asked 2024-11-27T20:38:43.5766667+00:00
sysint 0 Reputation points
commented 2024-11-29T08:53:47.5066667+00:00
Yakun Huang-MSFT 7,045 Reputation points Microsoft Vendor
1 answer

Microsoft Graph API - Send email with OAuth

Hello, We have an web app in which user's can authorize their own outlook account, either a basic outlook account or a Microsoft 365 Business account, to allow the app to send emails on their behalf. We have already set up the azure verified app to do…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,436 questions
asked 2024-11-28T18:24:03.9133333+00:00
NSoftware 0 Reputation points
answered 2024-11-29T08:45:20.54+00:00
CarlZhao-MSFT 43,011 Reputation points
1 answer

I've the activity log claims for an event. but how do i get more data on the appid. i tried everything like serviceprincipals,applications. literally everything. Anyone knows how to get more details for the appid. i redacted some information

"claims": { "aud": "https://management.core.windows.net/", "iss": "https://sts.windows.net/", "iat": "1732283494", "nbf": "1732283494", …

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,436 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,381 questions
asked 2024-11-27T10:38:16.4833333+00:00
Yaswanth Reddy 40 Reputation points
commented 2024-11-29T07:52:39.8433333+00:00
Raja Pothuraju 8,655 Reputation points Microsoft Vendor
1 answer

Getting delegated Sites.Selected Microsoft Graph permission to work with BreakRoleInheritance in SharePoint

We need to limit application API permissions to selected SharePoint sites (delegated) and also be able to use the SecurableObject.BreakRoleInheritance method. I can limit the API permissions for the enterprise application to Microsoft Graph's…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,436 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,095 questions
asked 2024-11-13T21:29:05.91+00:00
Elizabeth 0 Reputation points
edited the question 2024-11-29T07:35:36.9633333+00:00
RaytheonXie_MSFT 36,416 Reputation points Microsoft Vendor
3 answers

Authenticating to the SharePoint REST API as an Entra app (no user sign-in)?

I'm trying to use the SharePoint REST API to interact with SharePoint in ways that the Graph API doesn't support (specifically, adding members to a site). I have an Entra app registered as cross-tenant with Sites.FullControl.All, admin consented in the…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,436 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,095 questions
asked 2024-11-20T02:17:27.36+00:00
Max Cutlyp 0 Reputation points
edited the question 2024-11-29T07:33:17.1666667+00:00
RaytheonXie_MSFT 36,416 Reputation points Microsoft Vendor