STEP-1
Official Documentation
https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-register-app
Its simple, Define App Name and Click Register.
STEP-2
Ask your Azure administrator to provide below delegated permissions for Microsoft Graph.
Group.Read.All
User.Read.All
User.Read
STEP-3
Add Redirect URI e.g.
For Confluence, your Redirect URI will be: <BASE_URL>/plugins/ldapgroupsync/manage-ldapgroupsync.action
For Jira, your Redirect URI will be: <BASE_URL>/secure/AdGroupSyncAction.jspa