Skip to main content

Microsoft Graph Service

The Microsoft Graph Service connects B2Win Suite to Microsoft 365 APIs, enabling integration with SharePoint, OneDrive, and other Microsoft services.

Setup Steps​

1. Get Tenant ID​

Go to Microsoft Entra - Tenant Overview.

2. Register App​

Go to App Registrations.

Copy the Application (client) ID:

3. Configure Authentication​

Authentication tab - Set "Allow public client flows" to Yes.

Certificates & secrets - Create a client secret. Copy it immediately (you can't see it again).

Redirect URI - Add your B2Win Suite URL + /services/oauth2callback

API permissions - Add required permissions and grant admin consent.

Configure in B2Win Suite​

Go to Configurations > Services and open the Microsoft Graph service. Enter the values you collected in the previous steps:

  • Tenant ID — from step 1
  • App Client ID — from step 2
  • App Client Secret — from step 3

Then click Authorize and complete the authentication flow in the browser.

Troubleshooting​

  • Check redirect URIs are correct
  • Confirm admin consent was granted
  • Verify client secret hasn't expired
  • Double-check Tenant ID and Application ID