B2C-GraphAPI-DotNet | sample application that shows how to call the Azure AD | Azure library
kandi X-RAY | B2C-GraphAPI-DotNet Summary
kandi X-RAY | B2C-GraphAPI-DotNet Summary
A sample application that shows how to call the Azure AD Graph API for an Azure AD B2C directory.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of B2C-GraphAPI-DotNet
B2C-GraphAPI-DotNet Key Features
B2C-GraphAPI-DotNet Examples and Code Snippets
Community Discussions
Trending Discussions on B2C-GraphAPI-DotNet
QUESTION
As shown below we have assign most of the permissions required to call the B2C graph api. We call this through backend rest api. We can create, update and get users without any issues. But Delete returns with
...ANSWER
Answered 2021-Mar-09 at 03:56The sample you are using actually calls AAD Graph API rather than Microsoft Graph API.
AAD Graph is on a deprecation path. Starting June 30th, 2020 we will no longer add any new features to Azure AD Graph API.
Providing Directory.ReadWrite.All
won't allow you to delete the users through AAD Graph currently.
You need to assign a "User administrator" to the service principal associated with your app registration. Then you are able to delete the user.
Here are the steps:
QUESTION
Im using https://github.com/AzureADQuickStarts/B2C-GraphAPI-DotNet for creating and reading users using the graph apis . I have already added the required permissions (and even a few extra ones ) for the app in b2c .
when i try to either read or write any user it gives me an error of Insufficient privileges . any help would nice ?
...ANSWER
Answered 2020-Aug-31 at 21:12The example uses a service account, which are Application Permissions, not Delegated permissions as per your screenshots. You must have registered your App as a B2C app - rather you need to create it with the first option “Accounts in this directory only”. Then assign Application permissions to AAD Graph API.
Ideally you move to MS Graph API, as it’s the go-forward API.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install B2C-GraphAPI-DotNet
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page