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…
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…
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…
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…
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…
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:…
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…
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…
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…
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…
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…
$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.…
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.…
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…
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…
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…
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,…
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…
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…
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…