Start by going to Azure Active Directory

On the left menu click on "App Registrations"

Then click on "New registration" button

Here enter a name for your Ghost Site, then select the appropriate account types(most probably you want to enable all Microsoft accounts) . Then add the "Redirect URI" as shown below and click "Register" button

After the App is created, note the Application(client) ID and Directory(tenant) ID

After this go to Authentication and enable Access Tokens and ID Tokens, then Save

Now we need to create a Client Secret by clicking the following on the left menu

Here add a description and set expire date (24 months for long enough duration)

After this click ‘Add’. Once it’s added copy the client secret as it will only be shown once

Note the Client ID, Tenant ID and Client secret to be configured within GoPilot