Graph Connection
3 minute read
Configuring the Microsoft Graph Connection
The Microsoft Graph connection is needed for synchronizing calendar appointments, emails and Teams meetings. This data is used to create time tracking entries either directly or when using the Copilot feature to complete timesheets.
Create an Entra ID app registration
Before configuring the connection to Microsoft Graph in Business Central, an Entra ID app registration must be created. The app registration is used to authenticate and authorize the connection between Business Central and Microsoft Graph, it establishes a trust relationship between your app and the Microsoft identity platform.
Only users with sufficient permissions in Entra ID can create an app registration. Regular users typically do not have the necessary permissions to create app registrations. If you are unsure about your permissions, contact your Entra ID administrator.
Follow these steps to create the app registration:
- Sign in to the Microsoft Entra admin center.
- If you have access to multiple tenants, switch to the tenant in which you want to register the application.
- Browse to Entra ID > App registrations and select New registration.
- Enter a meaningful Name for your application, for example
BC Pryme Time
, it can be changed at any time. - Under Supported account types, specify who can use the application. We recommend you select Accounts in this organizational directory only.
- Select Register to complete the app registration.
- The application’s Overview page is displayed. Record the Application (client) ID, which uniquely identifies your application. You will need this ID later when configuring the connection in Business Central.
- In the left navigation pane, select Certificates & secrets.
- Under Client secrets, select New client secret.
- Enter a description for the client secret, such as
BC Pryme Time Secret
, and select an expiration period that suits your needs. - Select Add to create the client secret.
- After the client secret is created, copy the Value of the client secret. This value is only displayed once, so make sure to save it securely. You will need this value later when configuring the connection in Business Central.
- In the left navigation pane, select API permissions.
- Select Add a permission.
- Select Microsoft Graph.
- Select Application permissions.
- In the search box, type
Calendars.Read
, select it from the list, and then select Add permissions. - Repeat the previous step to add the following permissions:
Mail.Read
CallRecords.Read.All
User.ReadBasic.All
- After adding the permissions, select Grant admin consent for [Your Organization] to grant the permissions to the app.
- Confirm the action when prompted.
To set up the Microsoft Graph connection in Business Central
- Choose the 🔎 icon, enter PRyme Time Setup, and then select the related link.
- In the Microsoft Graph Connection fast tab, fill in the fields as necessary:
- Client ID: Enter the Application (client) ID you recorded earlier.
- Client Secret: Enter the client secret value you copied earlier.