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

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,827)