- Part 1 - Introduction to creating a multi-tenant Office 365 add-in using VS2015
- Part 2 - Creating the initial project and add-in registrations in Azure AD
- Part 3 - What did the wizard leave behind?
- Part 4 - Connecting Office 365 services to the project
- Part 5 - Adding code to send e-mails
- Part 6 - Switching to the Office 365 unified API (preview)
- Part 7 - Publishing the App to Azure
- Part 8 - Troubleshooting and tips
Cleaning up App registrationsWhen creating a lot of sample applications, you might end up with multiple App registrations and Azure resources. App registrations can easily be cleaned up using PowerShell.
If you have admin access you can download the Azure Active Directory Module for Windows PowerShell (64-bit version) package and once opened you first connect to your tenant with
You can list all add-in registrations with
and you remove entries with
Remove-MsolServicePrincipal -AppPrincipalId <your app id>
Every time you remove an add-in registration you will be prompted to consent to the add-ins permission request the next time you access it. Very useful for testing.
Cleaning up Azure ResourcesAzure resources can be cleaned up from the old and new Azure management portals.
- Resource groups
- Service plans
- App registration via Azure
- Be sure to disable multi-tenancy if you want to delete it, or use PowerShell
By removing a resource group, you will also automatically remove all artifacts associated with that group.