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

pac admin assign-user is failing with "WAM Error Need User interaction" #914

Open
Thomas-Chabot opened this issue Apr 22, 2024 · 0 comments

Comments

@Thomas-Chabot
Copy link

The code I'm running is:
pac admin assign-user --environment "https://environment-name.crm3.dynamics.com" --user $userId --role "System Administrator" --application-user

This works if I run it locally, but if I try to run it from within an Azure DevOps pipeline, it's failing with the error message:

Microsoft PowerPlatform CLI
Version: 1.24.3+g95fc6ea

Error: WAM Error  
Error Code: 3399548929 
Error Message: Need user interaction to continue. 
Internal Error Code: 527291998

I haven't been able to find any results when searching for the error. Because it's in DevOps I'm not able to give it the user interaction, but we do have the pac authentication already set up (we're running some other commands through pac, such as importing a solution, and those are fine).

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

1 participant