cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (93,846)