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!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (3,370)