Announcements
Just learning how to create PCFs. I'm following the tutorial here: Exercise - Use the Power Apps CLI - Learn | Microsoft Docs
I tried to use pac auth create and got the following error:
PS C:\mycode> pac auth create --name Lab --url https://xxxxx.xxxxx.xxxxx.crm3.dynamics.com/ -un me@example.com -p password123Microsoft PowerPlatform CLIVersion: 1.14.2+g7205df7
Error: Cannot resolve AAD/OAuth authority for https://xxxxx.xxxxx.xxxxx.crm3.dynamics.com/api/data/v9
My tenant likely has all sorts of security that I'm not aware of. Is there an obvious solution to the above issue? If not, what questions do I need to ask my sysadmin?
Hi @JenniferK ,
Try to specify only the "--name" and "--url" parameters
pac auth create -n Lab -u "https:xxxx...."
You will get a signIn dialog, where you can provide the needed informations.
Maybe it will work better that way.
Sadly, leaving out the username and password gives the same error.
Are you sure you have the URL right? Have you tried just opening that same URL in a browser?
url is correct in browser.
My sysadmin has done a few tests. The issue does not appear to be firewall-related. We're thinking that it might be related to multifactor authentication.
Do you maybe have conditional access policies that limit access to AD (or to the app) based on "Approved Apps" or "App Protection Policies"?
Conditional Access - Require approved app or app protection policy - Azure Active Directory - Microsoft Entra | Microsoft Docs
@JenniferK did this issue get sorted out? What was the resolution? Please update so folks who find this post in future searches can see how it was resolved!
It did get sorted. The application had to be white-listed for the proxy server. I don't know if this will apply to any other situations because network set-up and security where I'm at is very specific. But at least it's something to check.
Hi @JenniferK,
I have the same issue. What exactly do you mean by "The application". The azure application or the power platform.
Best and many thanks
Timo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 413
WarrenBelz 355 Most Valuable Professional
timl 315 Super User 2026 Season 1