This document outlines the registration of an application on
Azure
- Sign
in to the Azure portal.
- Search
for and select Azure Active Directory.
- Under
Manage, select App registrations > New registration.
- Enter
a Display Name for your application. Users of this application might see
the display name when they use the app, for example during sign-in. You
can change the display name at any time and multiple app registrations can
share the same name. The app registration automatically generate an
Application (Client) ID, not its display name, uniquely identifies your
app within the identity platform.
Select web in redirect URI and Enter the redirect URI
https://services.klobot.ai/apps/live/imdocshare/srvc/msauth

- Select
Register to complete the initial app registration.
- When
registration finishes, the Azure portal displays the app registration’s
Overview pane. You see the Application (Client) ID. Also called the Client
ID, this value uniquely identifies your application in the Microsoft
identity platform.

- Once
you have registered the application, Select Authentication in the side
menu.
- Enable
Access tokens (used for implicit flows) and ID tokens (used for implicit
and hybrid flows) under Implicit grant and hybrid flows section
- Choose
the Accounts in any organizational directory (Any Azure AD directory – Singel
tenant) option under Supported account types.
- Click
Save.

- Select
Certificates & Secrets > Client Secrets > New Client Secret.
- Add a
description of your client secret.
- Select
an expiration for the secret or specify a custom lifetime, select an
expiration for the secret or specify a custom lifetime. Client secret
lifetime is limited to two years (24 months) or less. You can’t specify a
custom lifetime longer than 24 months.
- Select
Add.
- Record
the secret’s value for use in your client application code. This
secret value is never displayed again after you leave this page.
- Select
API permissions > Add a permission > Microsoft Graph
- Select
Delegated permissions. Microsoft Graph exposes many permissions, with the
most commonly used shown at the top of the list.
- Under Select
permissions, select the following permissions:
- Bookmark.Read.All
- Channel.ReadBasic.All
- ChannelMessage.Send
- Chat.ReadWrite
- email
- Files.Read
- Files.Read.All
- Files.ReadWrite
- Files.ReadWrite.All
- Group.ReadWrite.All
- Mail.Send
- offline_access
- openid
- Profile
- QnA.Read.All
- Team.ReadBasic.All
- User.Read
- User.ReadBasic.All
- Click
Add permissions to complete the process.
- Once
permissions have been added, User must grant admin consent for Contoso.

- Login
to imDocShare admin app.
- Navigate
to iManage setting tab.
- Enter
the Microsoft Tenant Id, Microsoft Client Id and Microsoft Client Secret
and click Save.