cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
shasaxe1
New Member

Unable to connect PowerApps account using Powershell

Hi,

 

Need your help as I am not able to connect powerapps account using powershell.

I am executing below command:

Add-PowerAppsAccount

When executing above command and passing credentials, i am getting below error:

PS C:\WINDOWS\system32> canvasappsharing.ps1
Sharing Canvas PowerApps with Org Users...
Add-PowerAppsAccount : Exception calling "AcquireToken" with "3" argument(s): "Federated service at https://autologon.micros
oftazuread-sso.com/org.com/winauth/trust/2005/usernamemixed?client-request-id=<Guid>
returned error: Authentication Failure"
+ Add-PowerAppsAccount -Username $Username -Password $pass
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Add-PowerAppsAccount], MethodInvocationException
+ FullyQualifiedErrorId : AdalServiceException,Add-PowerAppsAccount

0 REPLIES 0

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,347)