Request to B2C Insufficient privileges to complete the operation

  • 110 Views
  • Last Post 27 February 2018
  • Topic Is Solved
admin posted this 27 February 2018

I downloaded a console application from Microsoft.

A Console application for Azure AD B2C User Management the Azure AD Graph. This sample demonstrates how to perform user management by calling the Azure AD Graph in an automated fashion. This aproach is similar to a service account scenario where the application acts as itself, not as a user that signed-in via an interactive user login. This is done by using the OAuth 2.0 client credentials grant. You find this code in a zip fine in attach of this post.

The application covered by this sample is a Windows command-line interface (CLI) that allows you to invoke various methods.

If I run this code, I receive this error:

Insufficient privileges to complete the operation.

B2C Authorization required

I can't understand what I have to do. In another machine this code is working fine.

Attached Files

admin posted this 27 February 2018

I understood my error. I must run this app as Administrator.

Close