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…
Set Retention Label & permanent delete based on retention label
Unable to set the retention label (https://learn.microsoft.com/en-us/graph/api/driveitem-setretentionlabel?view=graph-rest-1.0&tabs=http) PATCH /drives/{drive-id}/items/{item-id}/retentionLabel ---I also want to permanently delete based on retention…
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…
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…
Cannot Extract Text from One Drive Office Files due to assigned SensitivityLabels
Hi , I have one WebAPI which extracts Text from document (using temporary File generated after downloading onedrive download Url). This document is uploaded from teams chat and is stored in one drive under ms chat files folder. So for .docx file , it is…
Transcript API identifier from calendar/events API
Hi, I am using the me/calendar/events API to fetch the meeting content and I want to fetch its transcript if available. Which identifier can I use from the response of the me/calendar/events to fetch the meeting transcript from the transcript API? …
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…
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…
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…
How to set the Outlook Email Sensitivity using API Call
{ "message": { "subject": "Meet for lunch?", "body": { "contentType": "Text", "content": "The new cafeteria is open." }, …
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…
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…
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…
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":…
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 {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.
MSAL Login Redirect Issue
When i am changing my loginPopup to loginRedirect its not working
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…
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"…
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…