Skip to content

Commit

Permalink
Update MigratingFromPnPSitesCore.md
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonArmston authored Mar 10, 2021
1 parent 7dd32b8 commit 71ebc3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/MigratingFromPnPSitesCore.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ In this section you can learn how to register an application in Azure Active Dir

#### Configuring the application in Azure AD

The easiest way to register an application in Azure Active Directory for app-only is to use the [PnP PowerShell](https://docs.microsoft.com/en-us/powershell/sharepoint/sharepoint-pnp/sharepoint-pnp-cmdlets?view=sharepoint-ps) command lets. Specifically you can use the [`Register-PnPAzureADApp` command](https://github.com/pnp/powershell/blob/dev/documentation/Register-PnPAzureADApp.md) with the following syntax:
The easiest way to register an application in Azure Active Directory for app-only is to use the [PnP PowerShell](https://pnp.github.io/powershell) cmdlets. Specifically you can use the [`Register-PnPAzureADApp` command](https://github.com/pnp/powershell/blob/dev/documentation/Register-PnPAzureADApp.md) with the following syntax:

```powershell
$app = Register-PnPAzureADApp -ApplicationName "PnP.Framework.Consumer" -Tenant contoso.onmicrosoft.com -OutPath c:\temp -CertificatePassword (ConvertTo-SecureString -String "password" -AsPlainText -Force) -GraphApplicationPermissions "Group.ReadWrite.All", "User.ReadWrite.All" -SharePointApplicationPermissions "Sites.FullControl.All", "TermStore.ReadWrite.All", "User.ReadWrite.All" -Store CurrentUser -DeviceLogin
Expand Down

0 comments on commit 71ebc3b

Please sign in to comment.