Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Update-AutomationRunAsCredential #62

Open
liviadhalim opened this issue Mar 19, 2020 · 4 comments
Open

Issue with Update-AutomationRunAsCredential #62

liviadhalim opened this issue Mar 19, 2020 · 4 comments

Comments

@liviadhalim
Copy link

image

I have run the four prerequisites of the script that are put as comments in the script. Any idea what this error means?

Thank you.

@upadhyayatul15
Copy link

I am getting the same error ? Is there any other permission I am missing ?/

@zhijli
Copy link

zhijli commented Jun 22, 2020

I have the same issue. I confirm that my app has added it's SP as owner of the AAD app, and the app already have "Application.ReadWrite.OwnedBy" permission for "Microsoft Graph API", anything I'm missing?

One thing I want to call out and get confirmed: The script is adding
permission to Windows Azure Active Directory(00000002-0000-0000-c000-000000000000), while I'm adding permission to "Microsoft Graph Api" as the portal said “Azure Active Directory Graph” is replaced by "Microsoft Graph Api". I'm not sure if this will cause such issue?

@upadhyayatul15
Copy link

Adding permission to "Microsoft Graph Api" is fine, I have done it in the same way.

@zhijli
Copy link

zhijli commented Jun 24, 2020

[Update]:Adding Application.ReadWrite.OwnedBy to Azure Active Diectory Graph resolve my issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants