Outlook Calendar Credentials Generate - WorkDo.io

Outlook Calendar Credentials Generate

How to Generate Client ID and Secret ID on Azure Portal for Outlook Calendar Step […]

How to Generate Client ID and Secret ID on Azure Portal for Outlook Calendar

Step 1: Sign in to Azure Portal

Step 2: Register a New Application

  • In the left-hand menu, search for Azure Active Directory and open it.
  • In the sidebar under Manage, click App registrations.
  • Click + New registration at the top.
  • Fill in the form:
    • Name: Your app name (e.g., My Calendar App)
    • Supported account types:
      • Single tenant: Accounts in this organizational directory only
      • Multitenant: Accounts in any organizational directory
      • Multitenant + personal: Include personal Microsoft accounts (e.g., Outlook.com)
    • Redirect URI (optional): Choose Web and enter a URI like:
      http://{your.domain.com}/outlookcalendar/callback
  • Click Register.

Step 3: Get Client ID

  • After registration, you’ll land on the app’s Overview page.
  • Copy the Application (client) ID — this is your Client ID.

Step 4: Generate a Client Secret

  • In the left menu, click Certificates & secrets.
  • Under Client secrets, click + New client secret.
  • Fill in the details:
    • Description: e.g., Calendar Secret
    • Expiry: Select the appropriate expiration (e.g., 6 or 12 months)
  • Click Add.
  • Copy the secret value immediately — you won’t be able to view it again later.

Step 5: Add Redirect URI (if not added earlier)

  • In the left menu, go to Authentication.
  • Under Redirect URIs, click Add a platform → choose Web.
  • Enter your redirect URI:
    http://{your.domain.com}/outlookcalendar/callback
  • Check both Access tokens and ID tokens if using the authorization code flow.
  • Click Save.

Step 6: API Permissions

  • Go to API permissions.
  • Click + Add a permission.
  • Select Microsoft Graph.
  • Choose Delegated permissions (for acting as the logged-in user).
  • Add the following scopes:
    • Calendars.Read
    • Calendars.ReadWrite
    • offline_access (for refresh tokens)
  • Click Add permissions.
  • If required by your organization, click Grant admin consent.
Take your business to the next level with great website!

Feel Free To Reach Out to Discuss Your Next Web Development Project.

WorkDo Contact Us







    WorkDo Custom Services