Create an application
As call back use https://<Jtel Portal Host>/CarrierPortal/pages/acd/inbox/AcdInboxes.edit.xhtml
2. Create secret
Save the secret value somewhere it will not be accessible later.
Required scopes
"https://outlook.office365.com/IMAP.AccessAsUser.All"
"https://outlook.office365.com/Mail.Read"
"https://outlook.office365.com/Mail.ReadBasic"
"https://outlook.office365.com/User.Read"