Skip to content

App registration command should be updated. (old: Initialize-PnPPowerShellAuthentication, new: Register-PnPAzureADApp) #9061

@mitanabe

Description

@mitanabe

[Enter feedback here]
Initialize-PnPPowerShellAuthentication command is depricated in the latest PnP PowerShell. This command is not available now.
Register-PnPAzureADApp is the latest command.
Please update the procedure of registering an application to AAD in this document.

--- the page which has this issue ---
https://learn.microsoft.com/en-us/sharepoint/dev/transform/modernize-scanner#using-initialize-pnppowershellauthentication-to-setup-azure-ad-app-only

--- reference ---
https://pnp.github.io/powershell/cmdlets/Register-PnPAzureADApp.html

--- related pr and issues ---
pnp/pnpframework#215

pnp/powershell#76

microsoft/Microsoft365DSC#1912

image


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

Labels

area:docsCategory: SharePoint developer/development documentation relatedarea:pnp-librariesCategory: PnP Libraries (may be moved to appropriate project repo)help wantedLooking for someone to help with this issue (documentation fix, etc).sharepoint-developer-supportsharepoint-developer-support

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions