Sign into the Azure dashboard. You can also integrate with the Office365 identity service through Azure AD.
Step 1: Click on Azure Active Directory in the Manage column.
Step 2: Click on Properties and copy your Directory ID into Cloudflare dashboard.
Step 3: Click on “App Registrations” in the Manage column. Click “New Application Registration”.
Step 4: Give your application a name and use https://
Step 5: Click on your new application and copy your Application ID into Cloudflare dashboard.
Step 6: Click “Settings”, then click on “Keys”.
Step 7: Fill in the row for passwords and click save. Copy the new password value into the Application Secret field on the Cloudflare dashboard.
Step 8: Click on required permissions and then click on Windows Azure Active Directory.
Step 9: Toggle on the “Sign in and read user profile”, “Read directory data”, and “Read all groups” as permissions. Click save.
Step 10: Click Grant Permissions.
Step 11: Return to the Cloudflare dashboard. If you are using Azure AD groups, toggle “Support Groups” to “On” in the configuration window. Click on “Save and Test”to make sure your connection to the identity provider is successful.