2,011 questions
0
votes
0
answers
127
views
Encountering AADB2C90018 error when Azure B2C app registration created with Terraform
I am attempting to use Terraform to create an app registration in Azure B2C. I have previously succeeded in this task by manually using Graph API requests in Postman. This involved:
Create the ...
0
votes
1
answer
169
views
AADB2C90018: The client id <client-id> specified in the request is not registered in tenant <tenant>
I am trying to create an app registration for a UI app in Azure AD B2C and use it in a Sign In flow.
If the app registration is created manually using the Azure Portal, when I run the Sign In user ...
-2
votes
1
answer
69
views
Azure graph rest api to toggle enabled for users to sign-in on a service principal or enterprise application
I have the requirement to be able to toggle the "Enabled for users to sign-in?" within the properties of an enterprise application.
I have been searching the documentation, but have yet to ...
1
vote
0
answers
155
views
Using Azure AD Graph API to get a list of Entra users without a logged in user results in an AADSTS53003 error
I have a multi-tenant Blazor server application, which users can login with their company emails and work on their projects. Same application also needs to get list of users from MS Entra and update ...
0
votes
1
answer
130
views
Where can I find the Graph API endpoint to grant RBAC in Azure PIM?
I am developing a Python project to control Azure PIM via the Graph API.
I want to grant RBAC permissions through the Graph API in Azure PIM, but I can't find the Graph API endpoint.
Is that possible?
0
votes
1
answer
123
views
Can GraphRunner work without doing de Get-GraphTokens (device code authentication)?
I'm quite in a pickle with Graphrunner right now. (CTF)
I was asking myself if it was possible to run GraphRunner modules like Get-AzureADUsers without previously using Get-GraphTokens. I know Get-...
0
votes
1
answer
515
views
How do I filter Microsoft Graph by odata.type
I am working in Power Automate to pull data from Microsoft Graph, specifically:
https://graph.microsoft.us/v1.0/deviceManagement/deviceCompliancePolicies
I need to filter the results to only show ...
0
votes
1
answer
99
views
Azure AD B2C add user using Graph API with custom user attributes C#
I'm using the MS Graph API to register user on AD B2C, and it works when I tried without adding additional user attributes, but it fails with an error
properties are not available
when I tried ...
2
votes
1
answer
311
views
AADB2C with Graph API: how to filter users by the nested `identities` collection?
I'm using the Graph API via HTTP. I need to filter on all users that have a signInType of "emailAddress".
I'm using this select:
https://graph.microsoft.com/v1.0/users?$select=displayName,...
0
votes
1
answer
281
views
Azure/Entra AD all users and groups via graph api - too slow
We are getting all users and groups from azure ad via the graph api. It works but very slow. I'm hoping anyone here knows how to get it faster or maybe we have to use another api or powershell?
Here ...
1
vote
1
answer
104
views
Sharing Microsoft Graph Authentication Tokens Between Separate Applications (Silent Refresh Issue)
I'm working on a scenario where users will authenticate and grant consent to my application using a Windows Forms utility. This utility will allow users to connect their Entra ID or personal Microsoft ...
0
votes
1
answer
158
views
How can I create the adb2c sigin and sign up user flow using terraform?
# ✅ Microsoft Graph Service Principal
data "azuread_application_published_app_ids" "well_known" {}
resource "azuread_service_principal" "msgraph" {
client_id ...
-1
votes
1
answer
174
views
Having issues with Azure AD B2C custom policies. Trying to get "groups" using Graph API
I am using Azure AD B2C working with it's custom policies. What i am trying to achieve is. I want to get my groups in which my user is added.
I have a userinfo endpoint in which i am trying to get ...
-1
votes
1
answer
232
views
how to get files of a specific folder path in sharepoint using /lists graphapi
i was able to get folders of a specific folder path using /drives but in /lists it will return files also not just folders unlike /drives , i already made a python script to retrieve files from ...
0
votes
1
answer
326
views
How can I get subscription IDs from Microsoft Graph API? Current results don't seem accurate
Assume a customer has 3 subscriptions:
Exchange Online (Plan 1)
Microsoft 365 E3
Microsoft Teams Room Pro
In the admin portal (https://admin.microsoft.com/) I can see the subs and counts and such. If ...
0
votes
1
answer
101
views
Powershell: Subject not found
I figured out role assignment in a past post, but eligibility is still giving me a little difficulty.
I use the following to assign the built in Auth admin role to a group, and scope it to an Admin ...
-1
votes
1
answer
76
views
Follow Up on Access Required to Upload Files to SharePoint via Script (App Roles in Specific)
How do I authorize a Python script to upload to SharePoint Online? This was a wonderful answer and addressed the Required API access required to post a file to SharePoint. Please help in identifying ...
0
votes
1
answer
113
views
MS Graph: updating isOnMyDay for a task
Being a bit dissatisfied by MS MyDay, it removes everything at midnight, I decided to write myself some code to rectify this. At first using PowerAutomate, but that soon became to complex for me to ...
0
votes
1
answer
2k
views
Disable Azure AD Graph API with blockAzureADGraphAccess
We have an application which creates/updates users in Azure AD B2C using Azure AD Graph API, which was retired by MS February 1, 2025
We opted in for the prolonging to June 30 2025 using the
...
2
votes
1
answer
316
views
Microsoft Graph API - Update phoneMethods is no longer working
Suddenly my application is no longer able to update phoneAuthenticationMethod when it's created on B2C.
UPDATE STEPS TO REPRODUCE ISSUE:
Enable MFA using Custom Policy starter pack from MS(https://...
4
votes
1
answer
75
views
How to resolve an "Invalid operands found for operator -eq" error in Microsoft Entra ID PowerShell code
This code
foreach ($AU in $AUList) {
$Code = $AU.CountryCode
$Name = $AU.CountryName
$params = @{
displayName = "$Code" + "_Users"
description = &...
2
votes
2
answers
359
views
Issue with adding delegated Graph API permission to Enterprise app with Terraform
I wanted to create an enterprise app using Terraform (Done. Created Service Principal & AzureAd Application)
Application Creation
resource "azuread_application" "enterprise_app_oidc&...
0
votes
0
answers
95
views
I am trying to create a subscription in the Microsoft Graph API to monitor changes in user messages and getting an 400
Below is the payload I am sending to the API Gateway where mapping templates are configured for returning response:
{
"changeType": "created",
"notificationUrl": &...
0
votes
1
answer
140
views
Batch create mailbox folders with GRAPH API (from Graph Explorer)
I want to create custom folders for all users automatically.
"New-MailboxFolder" cmdlet, unfortunately, according to documentation is limited to be used “in your own mailbox” only.
So, I ...
0
votes
1
answer
211
views
Is it possible to get when a DL was used for last time using graph API
Is it possible to figure out in Microsoft office365, what was the last time when a mail/message is delivered to a particular list. What access will be required for this?
1
vote
1
answer
189
views
Creating a user in Azure AD B2C through Microsoft SSO
I have a Microsoft SSO process and I can get the required information of the user in the response. Currently, I am creating my normal users by calling the GraphAPI and it works.
Here's how the the ...
0
votes
1
answer
158
views
Azure Graph API Get User and ALL Groups in one call
I would like to call Azure and get user details and their group list, in one call.
This is similar to: Microsoft Graph API with Azure AD B2C: Get all users and their group membership
The problem is ...
0
votes
1
answer
256
views
Query resources in resource groups where tags are missing
I have got Azure resources within specific resource groups, however I do need to ensure that all resources have the following tags.
Environment
Cost_centre
Department
Owner
Type
So far it has ...
0
votes
1
answer
181
views
Determine Azure Resource Policy result / effect by querying Azure Graph for state of other resources
At Microsoft Ignite 2023 MS was discussing a soon-to-be-released ability for an Azure Resource Policy definition to be allowed to invoke a Graph API query and use the results as part of the Policy ...
0
votes
1
answer
420
views
how to integrate graph api in apim service
I have an Azure Application name and I can access the enterprise application properties with the help of graph Api.
I want to integrate the below graph Api into my APIM service for fetching the ...
1
vote
1
answer
124
views
how to access registered enterprise application properties from azure
I have an Azure Application name and I would like to know if there is a way to get the application ID and other properties of the enterprise application.
I am able to authenticate myself by passing in ...
0
votes
2
answers
368
views
Microsoft Graph API insufficient privileges with reset password
I'm trying to reset a user's password using the Microsoft Graph API, but I keep getting the following error:
Authorization_RequestDenied
Insufficient privileges to complete the operation
What I've ...
0
votes
2
answers
459
views
TLS version used in graph API
We are connecting azure ad using rest connection(Graph API) and we needs to know What TLS version used in graph API.As TLS 1.0 & TLS 1.1 will disable soon.
we have checked in Microsoft but not ...
-1
votes
1
answer
273
views
Looking for a Microsoft Graph API that can update device ownership of a deivce
I am looking to update device ownership of a device in AAD using Microsoft Graph API
This closest I have come to is https://learn.microsoft.com/en-us/graph/api/device-post-registeredowners?view=graph-...
0
votes
2
answers
883
views
How to get users info list from Azure AD app by calling Microsoft Graph API from ASP.NET Core Web API?
I have written this code - this API is supposed to return user's information list of my Azure AD app (has delegated permission - User.ReadBasic.All). I have done settings for
"TenantId": &...
0
votes
1
answer
553
views
"Need admin approval" error when using "Sites.Selected" delegated permission for SharePoint document download
1I am using the "Sites.Selected" delegated permission scope to read files from SharePoint on behalf of the logged-in user. I have granted delegated read permission on a specific site to my ...
0
votes
1
answer
283
views
Is it possible to use Bearer Access Token to Authenticate against our tenants SharePoint to allow a daemon to upload files to document library?
Currently we're working with Graph and Http.Client; I found an example that I have been working with and I broke this out into two namespaces; The namespace NetStandardCSOM is probably not accurate ...
1
vote
0
answers
392
views
Interactive Azure AD Authentication error
Inputs :
Web api app hosted in Azure
App in Azure AD registered as a public client (for graph api
purposes, I need an Interactive auth mode)
Locally, everything works well. I have set the ...
1
vote
1
answer
93
views
Is there a way for me to gather all the times that users from a given group have activated assigned roles in AzureAD?
I am currently working on trying to organise some groups and what their respective eligible and active roles are, and I have been able to do that so far.
Here is an example of what I have done so far
...
-1
votes
1
answer
163
views
How to page through Microsoft graph change notification subscriptions?
I've created 22 subscriptions in the graph API via POST /subscription endpoint. When I fetch the full list of subscriptions (GET /subscriptions), I receive a page of 20 subscriptions and a @odata....
1
vote
1
answer
1k
views
Use access token from Azure AD app to use with sharepoint REST API
I have an Azure AD app registered and my web app requires using both graph-api and REST API to fetch sharepoint account information.
For eg:
https://domain.sharepoint.com/_api/Web/RoleAssignments
...
0
votes
1
answer
724
views
Unable to Retrieve Online Meetings Data Using Microsoft Graph API
I'm currently working on an application that needs to retrieve all online meetings for a specific user using the Microsoft Graph API. Despite following the official documentation, I'm encountering an ...
1
vote
2
answers
785
views
Issue in sending personal message in MS Teams with Graph API
I registered my application in Azure AD website and collected the tenant ID, client ID, and client secret. I was able to generate the access token and chat ID for personal messaging which is requested ...
0
votes
1
answer
127
views
message count obtained in outlook folder graph query is not equal to count of actual messages in folder
generally in graph we can obtain the high level details of a folder using folder query and next level details such as the data of emails were obtained using message query usually the high level data ...
0
votes
1
answer
737
views
MSAL.js "offline_access" Scope Missing from Token Response
unable to see offline_access Scope Missing from Token Response
I'm using MSAL.js in my Outlook Add-in to authenticate users and obtain tokens. My configuration includes the offline_access scope, but ...
0
votes
2
answers
2k
views
How to remove proxyaddresses from B2C user?
I'm trying to update a user's email, but I can't because the proxy addresses are already in use. The problem is that the email is a proxy address of another, not the main one, and we cannot use it for ...
0
votes
1
answer
133
views
C# CS1061 Error with '.Request' (Trying to update users in an Azure AD B2C through external app)
I have been struggling with a CS1061 error for '.Request()' and cannot seem to figure it out, if anyone can think of a solution or a work around it would be greatly appreciated!
The program is running ...
0
votes
1
answer
416
views
Issue with move folder API in Microsoft Graph when Email ID contains "/"
When attempting to move a folder using the following endpoint:
Endpoint: https://graph.microsoft.com/v1.0/me/messages/{EmailId}/move
I'm encountering an error when the EmailId parameter contains a &...
0
votes
1
answer
68
views
getting IInsufficient privileges to complete the operation. For Rest Password
var client = graph.GetGraphClient();
try
{
//get existing user
var user = await GetGraphUser(userId, cancellationToken);
//Ensure the PasswordProfile exists before attempting to update ...
0
votes
1
answer
2k
views
Query Azure Resource Graph and get a list of all the application registration that contains "test"
I have to list for a PowerBI dashboard all of the application registrations that contains "test" in the name and the owner of it by using KQL and Azure Resource Graph query. It tried ...