First thing you will need to do is go to https://portal.azure.com/#allservices and under services choose App registration and register new app. Once you create it application (client) ID and Directory(tenant) ID will be generated for you. You will need to add section like this to your app.settings file: "AzureAd": { "Instance": "https://login.microsoftonline.com/", "Domain": "yourdomain.com", "TenantId":