Search This Blog

Saturday, June 10, 2017

How to remove registered app from sharepoint online

In this post i will explain how to remove registered app from sharepoint online.

For this please install Azure PD Powershell before going through this post.

Open the  Installed  Azure PD Powershell with run as Administrator permission.and run the following sript to remove the app from sharepoint online.

Connect-MsolService
$appPrincipal = Get-MsolServicePrincipal -ServicePrincipalName 'Paste your app client id here'
Remove-MsolServicePrincipal -ObjectId $appPrincipal.ObjectId

After executing the above script please register your app again in 
"SiteUrl/_layouts/15/appregnew.aspx"






No comments:

Post a Comment