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…
Grant admin consent to user_impersonation for azure service management
Getting above error.can anybody suggest correct resource id for azure service management
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',…
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…
Automatically Update Permission with Graph Api
Hello Community, I m having issues adding permissions in the API permissions. Basically following this guide: …
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…
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…
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…
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…
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…
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.…
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
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…
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…
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…
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 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…
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", …
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…
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…