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

Microsoft Graph API vs. IMAP/POP3 - which is better for reading mails?

I want to read mails of users of a specific domain (tenant) using Outlook API. However, I don't have privileges to register new app in Azure portal, for that domain, and so am not able to use Graph API. We cannot use Outlook API without an OAuth…
MAK
  • 1,915
  • 4
  • 20
  • 44
0
votes
1 answer

Getting Update Annotaion in Azure Graph API

I am using Azure Graph APIs to retrieve Information such as Mail, ProxyAddresses for User and Group. Though there are @removed Annotations to indicate the Deleted users, Is there any Annotation to specifically indicate an Update done to a User. Is…
0
votes
1 answer

Azure Function subscription to a Graph

I have defined a notification function to be suscribed to Graph: public static class NotificationFunction { [FunctionName("NotificationFunction")] public static async Task Run( …
felixmondelo
  • 1,324
  • 1
  • 10
  • 19
0
votes
1 answer

ms Graph api, calendarView 403-accessdenied error

First, I'm using Spring, Jetty, Retrofit. When I use calendarView in local, they return the successful values successfully. But, When others connect to my local server and call this api, it always returns me 403-AccessDenied error. (additionally,…
SK J
  • 19
  • 5
0
votes
1 answer

How to store all Azure AD user group members in an array using a logic app

I am working on a logic app that will create users in third party applications based on AAD group membership. To avoid issues when the group has more than 999 users I have implemented paging. I first get the first 50 users, and a NextLink that I…
Martijn Balink
  • 35
  • 1
  • 1
  • 5
0
votes
1 answer

Get the shortcut link from a .url shortcut file

I'm querying the graph api using this URL: https://graph.microsoft.com/v1.0/sites/{siteID}/drives/{driveID}/root/children which is giving me the webURL "https://MY DOMAIN.sharepoint.com/sites/{SITE}/{FILENAME}.url Is there any way to get the…
0
votes
1 answer

Issues with load times when attempting to retrieve photos from Azure AD via Graph query

I currently use the following code to pull information from Azure AD for a company directory: List options = new List(); options.Add(new QueryOption("$filter", "accountEnabled%20eq%20true")); options.Add(new…
0
votes
0 answers

Problem creating O365 Group using Graph API

I am trying to create O365 Group using Graph API, though I am able to get users and user profile details, I am unable to create group. My Azure tenant does have permission to create users/groups in the default directory and I did gave Profile and…
krisrajz
  • 11
  • 1
  • 4
0
votes
2 answers

Count of user/members from group azure AD using graph API

I need to take a count of each group from Azure AD using Graph API. Can anyone tell me how to achieve it
Ramesh
  • 35
  • 1
  • 4
0
votes
1 answer

How do i query Azure Security Center SecureScore through Graph API?

Im trying to access Microsoft Graph API to get the secureScore for Azure Security Center, but im unable to find the endpoint that gives me this information. I can easily find the secureScore for Office 365 through…
BatBro
  • 1
0
votes
2 answers

Can I disable users present in Azure B2C instance in advance?

I am working on a project that provisions users into Azure B2C via Azure Graph API call and we got a requirement to disable the users if they are terminated from company. The Termination Date can be anything (Past/Present/Future). If I know the…
0
votes
1 answer

set MaxInactiveTime in Azure is not working

I set AzureADPolicy by New-AzureADPolicy -Definition @('{"TokenLifetimePolicy":{"Version":1,"AccessTokenLifetime":"00:10:00","MaxInactiveTime":"00:10:30","MaxAgeSessionSingleFactor":"00:11:00"}}') -DisplayName "PolicyScenario"…
Eric Lai
  • 3
  • 1
0
votes
2 answers

Azure AD Graph API using client credentials OAuth

I am trying to make an API call to 'https://graph.windows.net/{{tenantId}}/accounts?api-version=1.6 I first use a client_credentials token call to get an access token. Here is the call: POST /{{tenantId}}/oauth2/token HTTP/1.1 Host:…
0
votes
2 answers

Hot to create new channel in Teams that is not hidden, using GraphAPI

I have an app that uses microsoft's graphAPI to create channels in my organizations Team dynamically. All is well and I can create the channels, except the channels I'm creating are marked as hidden - users need to manually "show" the channel before…
Itay Davidson
  • 55
  • 1
  • 6
0
votes
1 answer

Can Azure AD B2C sign-up & sign-in redirect to own URL, not to URL served by Microsoft?

Can I use custom URL for Azure AD B2C signup & signin page for web and native appilcation? I dont't want it to redirect to URL served by Azure AD B2C.