Step 1: Register an Application in Azure AD
- Sign in to the Azure Portal and sign in with your Azure account.
- Register a new application by going to Azure Active Directory. Under Manage, select App registrations.
- Click on New Registration.
- Enter a name for your application (e.g., "Excel 365 Integration" or "Keragon View").
- Choose the appropriate Supported account type (Single tenant or Multi- tenant).
- For the Redirect URI, select Web and enter
- Click Register.
Step 2: Retrieve the Client ID and Tenant ID
- Client ID: After registering, you will be redirected to the application's overview page. Copy the Application (client) ID. This is your Client ID.
- Tenant ID: On the same overview page, copy the Directory (tenant) ID. This is your Tenant ID.
Step 3: Generate a Client Secret
- In the left-hand menu, select Certificates & secrets.
- Under Client Secrets, click New Client secret.
- Provide a description (e.g., "Excel 365 Secret") and select an expiration period (e.g., 6 months, 12 months, etc.).
- Click Add.
- Copy the Value of the newly created client secret immediately as it will not be shown again. This is your Client Secret.
Step 4: Configure API Permissions
- On the application's overview page, select API permissions from the left- hand menu.
- Click Add a permission.
- Select Microsoft Graph.
- Choose Delegated permissions (or Application permissions based on your need).
- Add the following permissions:
- Files.Read
- Files.ReadWrite
- offline_access
- openid
- profile
- User.Read
- User.ReadWrite
- Additional permissions as required (in total, ensure you have 13 permissions).
- Grant Admin Consent (if necessary): If your application requires admin consent, click Grant admin consent for {your tenant}.
Step 5: Connect to Keragon
- In your Keragon dashboard, go to the Authentication tab
- Create New Connection: Click on Create New.
- Search for Excel and select it.
- Paste the Client ID you copied earlier.
- Paste the Client Secret.
- Click Connect.
- You may see a permissions prompt. Click Accept.