imDocShare Register an application in Azure

imDocShare Register an application in Azure

Introduction

This document outlines the registration of an application on Azure

Register an application

  • 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.

Configure authentication

  • 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.

Add a Client Secret

  • 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.

Delegated permission to Microsoft Graph

  • 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.

Add the Client Id and Client Secret to the imDocShare Admin app

  • 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.
    • Related Articles

    • SharePoint Entra Application for imDocShare Sync Prerequisites

      Create the certificate Generate a self-signed certificate using the PowerShell command below: $cert = New-PnPAzureCertificate -CommonName "<certificate name>" -OutPfx .\<certificate file name>.pfx -OutCert .\<certificate file name>.cer -ValidYears 2 ...
    • imDocShare v3.3.5.3009

      New Features imDocShare Hybrid search extension webpart and extension QNA search - search from Microsoft QNA and show in hybrid search Prerequisite for QNA search - goto azure application => select the application you already created for ...
    • imDocShare v3.7.0.0511

      imDocShare One Release date: (05/11/2024) New Features On stop co-authoring, display the name of the current collaborator actively working on the document. Note: "AllSites.Manage" permission is mandatory for this action. Go to Azure app registration ...
    • imDocShare v3.1.1.0503

      New Features imDocShare SharePoint app Enhancements in the Search Results (Separating the Folders, Email, and Documents) imDocShare Hybrid Search Ability to narrow down the list of search results to the folder level with the config builder settings. ...
    • imDocShare v3.3.7.3010

      New Features imDocShare SharePoint app Dynamic View The imDocShare Dynamic View webpart is a configurable view that can capture the query params from the page URL and show consolidated search results from iManage search based on the mapped query ...