Questions tagged [azure-ad-graph-api]

Use this tag for Azure AD Graph API (see link [1] in details below) related questions (not Microsoft Graph). The Azure Active Directory Graph API provides programmatic access to Azure AD through REST API endpoints. Applications can use the Graph API to perform create, read, update, and delete (CRUD) operations on directory data and objects

Graph API supports the following common operations for a user object:

  • Create a new user in a directory
  • Get a user’s detailed properties, such as their groups
  • Update a user’s properties, such as their location and phone number, or change their password
  • Check a user’s group membership for role-based access
  • Disable a user’s account or delete it entirely

In addition to user objects, you can perform similar operations on other objects such as groups and applications.

Useful Links:

  1. Documentation
  2. MSDN: Azure AD Graph API Reference
  3. Microsoft Graph or Azure AD Graph
1920 questions
0
votes
1 answer

Get SharePoint App details using Graph REST API

I have an Provider Hosted SharePoint app registered using appreg.aspx. I want to get details of that app like app name, client secret start and end date using Azure Function, so that I can send alert before the app client secret expires. I have…
Sushrut Paranjape
  • 429
  • 2
  • 4
  • 17
0
votes
2 answers

How to get all Azure AD account list using token generated by user_impersonation scope on /common endpoint

As Azure AD authentication document have defined way to get token using /common end point as below. https://learn.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-auth-code-flow I am able to get access_token (using /common endpoint), but…
0
votes
1 answer

Getting a "cannot convert" error when trying to used a cached token

I'm getting the following error when trying to use a cached token. I'm using the list that was provided as an example here: https://learn.microsoft.com/bs-latn-ba/azure/active-directory/develop/msal-net-acquire-token-silently cannot convert from…
Ryvik
  • 363
  • 1
  • 3
  • 14
0
votes
1 answer

Reference the result of a method in a method

I have two methods, the first one gets an access token to access AzureAD, the second is supposed to get user data. I'm able to get it to work when the code is all in the same method, but I'd like to eventually add command line arguments to call…
Ryvik
  • 363
  • 1
  • 3
  • 14
0
votes
2 answers

Azure Active Directory Graph vs Microsoft Graph

Can Anyone tell the difference between Azure Active Directory Graph vs Microsoft Graph. What is the use of the these API and appropriate scenario to choose these API Also What is the best approach to call the Graph API (directly from angular…
0
votes
1 answer

Graph API User Delta URL

1: Delta URL isn’t reflecting certain kinds of Users. But Without the Delta, those Users show up. Although unable to figure what kind of data doesn’t reflect for a User Query with a DELTA URL. It would be great to understand i:Are Alias Updates…
0
votes
1 answer

Calling Microsoft Graph API to get the users AD group in Angular 7

We need to call the Microsoft graph API from Angular 7 application to get the users AD group details. we have registered app in Azure AD and we have read API permission for Azure Active Directory Graph and Microsoft Graph. now we want to verify…
0
votes
1 answer

Microsoft Graph API permission to patch Application

When using the https://graph.microsoft.com/.default API to PATCH an Application in Azure AD it fails with the error: "code": "Authorization_RequestDenied", "message": "Insufficient privileges to complete the operation.", ... The call…
0
votes
1 answer

Azure AD Graph group member oData result limitations

Following is the url to get the members of a group baseUrl/groups/{groupId}/members?$select=objectId,signInNames,surname,givenName So how many number of records will be return with this request? does it return all the members of group or does it…
smith
  • 73
  • 1
  • 8
0
votes
1 answer

Sync Planner APP Task with External Database

I am going to add the Planner App in the MS Teams Channel using Graph API. I will add Tasks to it as well using Graph API. Now I want that whenever status is getting changed in the planner app for the tasks then I can update the status in my…
0
votes
1 answer

Graph API usage

I am unable to use Graph API Beta version API's even though I am an Intune Administrator with licensed MS account. Kindly assist. What is the exact permission set/access required for me that I can access Beta API's and even execute privileged…
0
votes
1 answer

Azure Grant admin consent for Arcadis not editable

I have added Graph permissions that "User.ReadWrite.All" and other permissions like below, but I am not able to grant consent permission for the added requests. Even my organization's azure support team members also not able to give me permission.…
0
votes
0 answers

Interactivity Level Checking In Microsoft Teams Meeting

I am looking to work upon an app that will calculate the level of interaction of all participants in Microsoft Teams Meetings. Initially i have looked into Microsoft Graph API but not able to understand where to start in this. Any lead or suggestion…
Nitin Singh
  • 159
  • 2
  • 3
  • 14
0
votes
1 answer

Upload fail for DrievItems in Drive of SitePages List

Upload fail for all the DrivesItems in Drive associated with SitePage list in a sharepoint site. Graph API request: UploadSession uploadSession = GraphCLient.Sites[{SiteId}].Drives[{DriveId of SitePages List }].…
0
votes
1 answer

Unable to fetch details of B2B user using Azure Graph API

Azure's Graph API supports fetching details of a user using this API. It supports either the id or the userPrincipalName(UPN). For B2B user the requirement is to fetch the details using UPN. The UPN that Azure creates for a B2B user is the following…
Prashant
  • 1,144
  • 8
  • 17
  • 28