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
2 answers

DefaultValue = new DefaultColumnValue { Value = "Some text"} does not work

There are No examples to work with Microsoft.Graph in .NET core C# the API is all JSON. I was able to create a choice site column but the default value did not work Microsoft.Graph.ColumnDefinition column = new Microsoft.Graph.ColumnDefinition …
Ofer Gal
  • 707
  • 1
  • 10
  • 32
0
votes
2 answers

How to create Teams as Private team using Graph API

When we see from Teams UI while we create new Teams, we can choose the option of public and private. Can I Create Teams as a Private team using Graph API? If so, can anyone help me to find the related document?
0
votes
1 answer

Creating subscriptions for AAD change notifications throws 'Subscription validation timed out exception" inconsistently

Always creating new AAD change notificaiton subscription against AAD1 which was created couple of years before by giving azure function(consumption plan) url as call back url, works as expected by creating & returning subscription details. While…
191180rk
  • 735
  • 2
  • 12
  • 37
0
votes
1 answer

Consume MS Graph API in Azure Active Directory : C# and Postman

I am new to MS Graph API and was trying to retrieve the SharePoint List Items using MS Graph registered in Azure AD . I was able to retrieve the access token by passing the following parameters(client_id,client_secret,resource,authority) so the…
0
votes
1 answer

Graph API Response: Could not find a property named 'telephoneNumber' on type 'Microsoft.OutlookServices.Contact'

I'm receiving the response "Could not find a property named 'telephoneNumber' on type 'Microsoft.OutlookServices.Contact'" from my API call. I've tried other fields that work just fine such as jobTitle, in this…
Best Dev Tutorials
  • 452
  • 2
  • 6
  • 22
0
votes
1 answer

Missing scope in access token - code flow

I am trying to execute Oauth2 code flow to get access token but not able to fetch built-in email scope. Below is my setup. I have registered an application in Azure Active Directory. Lets say app id is - APP1 I am using V2 endpoint to access…
user2243747
  • 2,767
  • 6
  • 41
  • 61
0
votes
1 answer

Calling Graphi API from Classic JavaScript through msal.js

I am trying to do silent login through msal.js and then trying to call graph api but always I get 403 error. When I decrypt my access token through jwt.ms I can see that audience is correct but scopes are showing wrong. Hope some can help me. My…
0
votes
1 answer

Unclear Azure ID starting with 'S-'

we've got an application which uses the GraphAPI in order to save Name, Mail etc. from the logged in users. Also some other AD-Apps has access to our application. Now we got in our Database the following ID:…
bater
  • 97
  • 9
0
votes
1 answer

Override Office 365 group naming policy

As stated in this article from microsoft on group naming policies, selected administrators are exempted and able to override any given naming policy. In my case I have registered an app that is used to run azure functions creating unified groups…
0
votes
1 answer

O365 Send as another user via graph api

I am struggling to get a succinct answer. Has anyone had to send emails from an Azure hosted website using the graph api? If so i realise i can use delegated permissions and send as the logged in users. I am also familiar about the fact i can assign…
MrKobayashi
  • 1,045
  • 2
  • 12
  • 19
0
votes
0 answers

Updating publicClient fails due to invalid identifierUris on Azure AD application

I'm trying to update an existing Azure AD application using the following PowerShell command: Set-AzureADApplication -ObjectId $objectId -PublicClient $true This fails with the following error: Property identifierUris is invalid. The identifier…
0
votes
1 answer

How to access graph API from angular 7 which is using azure ad login

I want to get user and group details from azure graph api. but I don't know how to get those data's. I have a angular 8 application, it is running in azure app services it is using AAD authentication, so when i call my app service URL…
Manihtraa
  • 968
  • 3
  • 12
  • 28
0
votes
1 answer

Azure B2C Mobile Journey

We are looking to use mobile number as username for our users to sign in. In the Signup journey we just want to send one time password to validate if they have put the correct phone number. Is it possible to achieve this using Azure B2C IEF? Please…
Ash Gul
  • 31
  • 1
0
votes
1 answer

Microsoft graph api download file content doesn't return doesn't return download URL

I want to download the content of a file in order to store it in local machine, the request I sent is: https://graph.microsoft.com/v1.0/me/drive/root:/test/file1.docx:/content get.addHeader("Accept",…
0
votes
1 answer

Calling management.azure.com API fails due to authentication

I have a WEB API application working via Azure active directory. I can get the information of all the user in active directory like this: var app =…