microsoft / coe-starter-kit

Other
763 stars 225 forks source link

[Power Platform communication site template] Failure on connect-pnponline #8978

Open WorkWithMeHere opened 2 months ago

WorkWithMeHere commented 2 months ago

Describe your bug, question or feature ask.

We're seeing an issue at the Connect-PnPOnline -Url $adminUrl -Interactive line in the code (aside from -Interactive no longer being supported). We are unable to authenticate through to the admin portal, and keep getting the same error.

Application with identifier [tenant ID] was not found in the directory [company name].

Could you please advise?

image

RyanCloud8888 commented 1 month ago

try to use Connect-PnPOnline -Url $adminUrl -UseWebLogin