Content
20 questions with Microsoft Graph Directory Management API tags
Issue creating a Device using Graph API
Hi, I raised an issue on the documentation of github but was suggest that I raise it here. Issue is that I'm trying to create devices for some test scenarios, found the following references: …


MS Graph API for the Azure AD PowerShell replacement cmdlets ?
Hi Everyone, I wonder what's the equivalent Microsoft Graph for the below function or cmdlet? Since the Azure AD PowerShell Module is about to be deprecated based on https://learn.microsoft.com/en-us/powershell/module/azuread/?view=azureadps-2.0 …


Is it possible to scope API Permissions in an Azure App Registration to a single domain in an Azure Tenant?
I am working on a project where there are several domains consolidated into a single Azure tenant. When creating an app registration and adding API permissions, I would like the ability to scope the app registration to a defined scope of directory…


Fields not returning when properties in $select parameters start with upper case only for "directoryObjects
Properties under the query parameter $select are behaving differently between the requests. When selecting data from "users" the parameters can either start with upper case or lower case. The results will include the fields in both cases,…


Paging does not work in Microsoft Graph API when requesting transitiveMembers of a user
'm reading all transitiveMembers of a specifc user: https://graph.microsoft.com/v1.0/users/XYZ/transitiveMemberOf/microsoft.graph.group?$top=1 then I get the $nextLink back and when I call the $nextLink it won't work! NextLink: …


How to get localized response from Graph API
We are trying to fetch AAD roles by hitting API 'GET https://graph.microsoft.com/v1.0/directoryRoles'. Our requirement is to get the response in the preferred language of the user. Is there any way to pass the preferred language as a parameter to the…


Microsoft Graph API permistion required to read Selective user emails not everyones email
We required to access selective/group of users email contents not for all users. but now we can read all users email contects using 'Mail.ReadBasic' API permission.


Authenticating Powershell commandlets using Graph api access token
Hi, I want to read subscription expiry date for a user using graph API. The graph api does not expose end dates (as of today), in the documentation :…


Using Microsoft Graph PowerShell to create Script that is authenticated only by username & password ?
Hi All, With the deprecated Powershell methods: https://learn.microsoft.com/en-us/powershell/module/msonline/set-msoluserlicense?view=azureadps-1.0 …


Use graph api to get the cost per user
I am trying to use Graph API to get the cost per user subscription, based on the Office365 applications/services the given user is assigned to. Are there any rest endpoints that give me such details? I have tried the following…


Stop user from being able to change password to the current one again using Graph API
Hi, I am creating a power automate flow to be used by Power Virtual Agent Bot which will assist user in changing their passwords. API: https://graph.microsoft.com/v1.0/users/<UserID> { "passwordProfile": { …
MS Graph and Privelige escalation
We are in the process if implementing an integration between Service Now and Azure AD using the Azure Spoke integration in Service now. The target AD however is under Premium P2 using PIM. Have implemented the app in AD and assigned API permissions…


How to inherit user permissions to subfolders and files for mounted folders
We have created a mounted folder and had given it the permission via FileSystemAccessRule FileSystemAccessRule fileSystemAccessRule = new FileSystemAccessRule(@"IIS AppPool\" + appPoolName.Trim(), FileSystemRights.FullControl, …


AdministrativeUnit Extension - Access Denied
Creating an openExtenstion for an adminstativeUnit results in an Access Denied error. Making the call to https://graph.microsoft.com/beta/administrativeUnits/{unit-id}/extensions result to the error message as shown below. The user is…


API permissions for Microsoft Graph
Hi, In the following KB, https://learn.microsoft.com/en-us/graph/known-issues#license-check-errors-for-azure-ad-activity-reports it was previously reported (as of April 6, 2022) that this API has a known issue and currently requires consent to…


SharePoint Profilecard with Custom Attributes
We have added 4 new custom attributes to the user profile and wanted them to show on the Profile Card of SharePoint but not working. Using Graph Explorer following the article (https://learn.microsoft.com/en-us/graph/add-properties-profilecard)…


Library has moved?
To Whom It May Concern: I am trying to follow along with the example to be able to open messages from my email and place them into my app. I'm following the instructions on: https://learn.microsoft.com/en-gb/graph/sdks/paging?tabs=Go However,…


Recently performed operations on files and directories are not reflecting in API
I am working on a project where i need to list files from the SharePoint sites. It's working fine when files are already there on the SharePoint site. But when we have recent actions on files like Added/Deleted/Updated then it takes time to reflect these…


Email aliases not coming back from graph API users endpoint
We are seeing a few users for which the graph API returns only a primary email despite knowing that there are multiple SMTP addresses configured for these users. We are observing this on the List Users endpoint as well as the Get User endpoint. When…


Complications with phone settings
There's There someone working in the background of my apps on Google, Microsoft Edge, and Samsung customization. And they are using these developer controls to control my settings and phone. They started as a IAM administrator thru Google without me…

