Connect-pnponline -url -interactive doesnot work
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
not applicable
Developer environment
None
What browser(s) / client(s) have you tested
- [ ] 💥 Internet Explorer
- [X] 💥 Microsoft Edge
- [X] 💥 Google Chrome
- [ ] 💥 FireFox
- [ ] 💥 Safari
- [ ] mobile (iOS/iPadOS)
- [ ] mobile (Android)
- [ ] not applicable
- [ ] other (enter in the "Additional environment details" area below)
Additional environment details
- browser version
- SPFx version
- Node.js version
- etc
Describe the bug / error
We have observed that the PNP Powershell module used for interactive Sign in is failing now
Steps to reproduce
- Connect-PNPonline -url -interactive
- Key in USer Cred
- Complete MFA
- Error : App doesnot found
Expected behavior
This was working till 9th September 2024
App is already registered in tenant with all delegate permissions
It is due to changes in PnP Management Shell registration in Microsoft 365. Please see this link: PnP Management Shell EntraID app is deleted : what should I do ?
Hello @chandan805, Thank you for bringing this issue to our attention. We will look into it and get back to you shortly.
@chandan805
Yes, Connect-pnponline -url -interactive is changed, you can replace the “Interactive” switch with “UseWebLogin”.
Refer the document https://www.sharepointdiary.com/2021/08/fix-connect-pnponline-parameter-cannot-be-found-that-matches-parameter-name-interactive-error.html
We are closing this issue for now. If the problem persists, feel free to reopen it or open a new one.