Microsoft Q&A

Microsoft Graph Directory Management API

20 questions

A Microsoft API that allows you to manage resources in your Azure Active Directory B2C directory.

20 questions with Microsoft Graph Directory Management API tags

Sort by: Updated
5 answers

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: …

Microsoft Graph Directory Management API
asked 2023-01-27T18:00:14.2+00:00
whgibbo 0 Reputation points
commented 2023-02-02T06:54:02.38+00:00
Carl Zhao_MSFT 18,216 Reputation points Microsoft Employee
3 answers One of the answers was accepted by the question author.

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 …

Microsoft Graph Directory Management API
Microsoft Graph Identity API
Microsoft Graph Identity API
A Microsoft API to access Azure Active Directory (Azure AD) resources to enable scenarios like managing administrator (directory) roles, inviting external users to an organization, and, if you are a Cloud Solution Provider (CSP), managing your customer's data.
258 questions
Microsoft Graph Permissions API
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
4,626 questions
asked 2022-08-01T13:01:57.637+00:00
Enterprise Architect 2,121 Reputation points
accepted 2022-12-13T05:58:46.567+00:00
Enterprise Architect 2,121 Reputation points
0 answers

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…

Microsoft Graph Permissions API
Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
12,676 questions
Microsoft Graph Directory Management API
asked 2022-11-09T19:06:58.047+00:00
Patrick Tyler 1 Reputation point
commented 2022-11-14T08:57:50.953+00:00
Givary-MSFT 11,751 Reputation points Microsoft Employee
1 answer

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,…

Microsoft Graph Directory Management API
asked 2022-10-18T15:08:11.97+00:00
Evans Aboge 96 Reputation points Microsoft Employee
answered 2022-10-18T22:03:09.2+00:00
Shivam Dhiman-MSFT 4,406 Reputation points Microsoft Employee
1 answer

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: …

Microsoft Graph Directory Management API
asked 2022-09-15T07:47:20.83+00:00
Alexander Suter 6 Reputation points
answered 2022-09-19T10:27:33.27+00:00
Vicky Kumar (Mindtree Consulting PVT LTD) 1,066 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

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 Directory Management API
Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
12,676 questions
asked 2022-09-08T09:49:52.683+00:00
Prachi Verma 21 Reputation points
accepted 2022-09-08T13:40:39.31+00:00
Prachi Verma 21 Reputation points
1 answer

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.

Microsoft Graph Directory Management API
Microsoft Graph Permissions API
Microsoft Graph Mail API
Microsoft Graph Mail API
A Microsoft API that supports accessing data in users' primary mailboxes and in shared mailboxes.
683 questions
Microsoft Graph Explorer API
asked 2022-08-04T06:33:09.63+00:00
Ramachandran umapathi 1 Reputation point
commented 2022-08-17T08:12:46.247+00:00
nick 1 Reputation point
1 answer One of the answers was accepted by the question author.

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 :…

Microsoft Graph Directory Management API
Microsoft Graph Users API
Microsoft Graph Users API
A Microsoft API that allows you to build compelling app experiences based on users, their relationships with other users and groups, and the resources they access for example their mails, calendars, files, administrative roles, group memberships.
549 questions
asked 2022-07-19T14:15:57.687+00:00
chonky_kittu 41 Reputation points
accepted 2022-07-22T15:25:56.117+00:00
chonky_kittu 41 Reputation points
1 answer

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 …

Microsoft Graph Directory Management API
Microsoft Graph Permissions API
Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
12,676 questions
Microsoft Graph Azure AD API
Microsoft Graph Azure AD API
A Microsoft API that queries the user's profile, finds other users, manages organizational relationships, tracks assignments, or creates original solutions that incorporate existing organizational data.
187 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
584 questions
asked 2022-07-11T14:20:23.54+00:00
Enterprise Architect 2,121 Reputation points
commented 2022-07-21T17:09:53.5+00:00
Alfredo Revilla (MSFT) 15,886 Reputation points Microsoft Employee
2 answers One of the answers was accepted by the question author.

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…

Microsoft Graph Directory Management API
Microsoft Graph Users API
Microsoft Graph Users API
A Microsoft API that allows you to build compelling app experiences based on users, their relationships with other users and groups, and the resources they access for example their mails, calendars, files, administrative roles, group memberships.
549 questions
asked 2022-04-14T09:08:00.503+00:00
chonky_kittu 41 Reputation points
commented 2022-07-05T11:14:31.477+00:00
Janakar 1 Reputation point
1 answer

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": { …

Microsoft Graph Directory Management API
Microsoft Graph Users API
Microsoft Graph Users API
A Microsoft API that allows you to build compelling app experiences based on users, their relationships with other users and groups, and the resources they access for example their mails, calendars, files, administrative roles, group memberships.
549 questions
Microsoft Graph Identity API
Microsoft Graph Identity API
A Microsoft API to access Azure Active Directory (Azure AD) resources to enable scenarios like managing administrator (directory) roles, inviting external users to an organization, and, if you are a Cloud Solution Provider (CSP), managing your customer's data.
258 questions
Microsoft Graph Applications API
Microsoft Graph Applications API
A Microsoft API that enables you to manage these resources and actions related to applications in Azure Active Directory.
432 questions
asked 2022-06-19T17:56:48.11+00:00
Manu 41 Reputation points
commented 2022-06-20T18:03:10.677+00:00
Manu 41 Reputation points
1 answer

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…

Microsoft Graph Directory Management API
Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
12,676 questions
asked 2022-06-15T22:48:22.307+00:00
Simon Dragicevich 1 Reputation point
commented 2022-06-16T23:10:38.1+00:00
Simon Dragicevich 1 Reputation point
2 answers

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, …

Microsoft Graph Directory Management API
Microsoft Graph Permissions API
Windows 10 Security
Windows 10 Security
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
2,139 questions
asked 2022-06-08T11:42:38.517+00:00
Amit Jain 1 Reputation point
commented 2022-06-16T03:43:27.22+00:00
Eleven Yu (Shanghai Wicresoft Co,.Ltd.) 10,441 Reputation points Microsoft Employee
1 answer

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…

Microsoft Graph Directory Management API
Microsoft Graph Permissions API
asked 2022-06-08T14:33:18.05+00:00
Andrew Omondi 171 Reputation points
commented 2022-06-13T15:41:23.453+00:00
Sheena-MSFT 1,706 Reputation points
1 answer One of the answers was accepted by the question author.

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…

Microsoft Graph Directory Management API
Microsoft Graph Permissions API
Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
12,676 questions
asked 2022-05-30T06:25:21.2+00:00
Avraham Zuroff 21 Reputation points
accepted 2022-05-30T12:46:00.857+00:00
Avraham Zuroff 21 Reputation points
2 answers

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)…

Microsoft Graph Directory Management API
Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,084 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
6,034 questions
asked 2022-05-24T15:16:17.25+00:00
Praveen Mandalapu 1 Reputation point
commented 2022-05-27T12:58:52.317+00:00
Sheena-MSFT 1,706 Reputation points
2 answers

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,…

Microsoft Graph Directory Management API
Microsoft Graph Mail API
Microsoft Graph Mail API
A Microsoft API that supports accessing data in users' primary mailboxes and in shared mailboxes.
683 questions
asked 2022-04-15T14:23:01.883+00:00
totally_gizmo 66 Reputation points
answered 2022-05-19T19:26:20.89+00:00
totally_gizmo 66 Reputation points
1 answer

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…

Microsoft Graph Directory Management API
Microsoft Graph Files API
Microsoft Graph Files API
A Microsoft API to create an app that connects with files across OneDrive, OneDrive for Business, and SharePoint document libraries.
307 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.
1,680 questions
asked 2022-05-17T06:06:42.663+00:00
Vivek Kumar 1 Reputation point
commented 2022-05-19T09:34:42.67+00:00
Tong Zhang_MSFT 8,801 Reputation points
1 answer One of the answers was accepted by the question author.

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…

Microsoft Graph Directory Management API
Microsoft Graph Users API
Microsoft Graph Users API
A Microsoft API that allows you to build compelling app experiences based on users, their relationships with other users and groups, and the resources they access for example their mails, calendars, files, administrative roles, group memberships.
549 questions
asked 2022-03-16T15:15:35.94+00:00
Elyes Graba 21 Reputation points
accepted 2022-03-24T16:08:06.92+00:00
Elyes Graba 21 Reputation points
0 answers

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…

Microsoft Graph Directory Management API
asked 2022-03-15T16:54:38.02+00:00
Rud3D0665H0u53 1 Reputation point