Microsoft cloud services
This article describes how to integrate with Microsoft (using its API) and use the received data in multiple ways in Wallboard.
Wallboard provides two ways to access data from the Microsoft ecosystem:
- Delegated access, an app acting on behalf of a signed-in user.
- App-only access, an app acting with its own identity.
- Also called: Service Principal / Service Account
Access data on behalf of a signed-in user
Wallboard can only access data that the connected user has access to.
Access user's personal data
- Add new
Microsoft credential - Select the scope
- Set the tenant type to
Personal Account - Click on
Authenticate - Follow the steps in the pop-up
Access SharePoint resources (user is part of a corporate tenant)
- Add new
Microsoft credential - Select the scope
- Set the tenant type to
Work or School Account - Choose
SharePointin the add modal - Click on
Authenticate - Follow the steps in the pop-up
Connecting a SharePoint account requires admin consent!
The actual setup flow can be different based on your configuration at Azure.
Access data as a Service Principal (Service Account)
Wallboard gives the option to use service principals (app-only access) besides the on behalf of a signed-in user (delegated) method to access data.
Service principals
Register an App in Azure AD
To have a Client ID and Client Secret first you have to create an application registration in Azure AD.
Navigate to App Registrations
Click on New Registration

The redirect URI must point to the actual Wallboard server (replace [server_domain]).
https://[server_domain]/public-api/microsoft/authCallback/serviceAccount
Setup permissions
Add the necessary permissions (scopes) to the application:

The following permissions are required in the different use cases:
- Read calendar data (connect it as a datasource)
Calendar.Read
- Read and edit events in a calendar (required for complex meeting room solutions)
Calendar.ReadWrite
- Sync a folder from a drive (user's or site's drive)
Sites.Read.AllFiles.Read.All
- Read SharePoint lists (connect it as a datasource)
Sites.Read.AllFiles.Read.All
- Read Excel workbooks (connect it as a datasource)
Sites.Read.AllFiles.Read.All
- Power BI
- No specific scope required
In order to access a Power BI workspace with a service principal you need to
- Enable
Allow service principals to use Power BI APIsSettings->Admin portal->Developer settings
- Add the service principal to your workspace with
Memberrole (use theDisplay nameof the created application)Select workspace->Manage access->Add people and group
To allow embedding in a content:
- Enable
Embed content in appsSettings->Admin portal->Developer settings

Add a new client secret
At Certificates & secrets create a new client secret and copy the Value (not the Secret ID).
You will need this secret in a later step, referred to as Client Secret.

Check the secret expiration, because after that Wallboard won't be able to request new tokens and the integration will be broken.
On expiration there is an option in Wallboard to update the secret on the credential.
Grant admin consent
Using certain permissions requires admin consent. There is an indicator for it in the Admin consent required column.
In order to grant admin consent click on the Grant admin consent for [My Company name] button at the API permissions menu.

In case of service principals, grant admin consent through the Azure AD console as detailed above.
Granting admin consent during the browser sign-in flow instead can result in a token that is missing the required scopes, so we highly recommend granting admin consent to the application before configuring anything in Wallboard.
Set up connection in Wallboard
- Add new
Microsoft credential - Select the scope
- Set the tenant type to
Service Principal - Fill
Client IDandClient Secret - Click on
Authenticate - Follow the steps in the pop-up
Related articles
- Microsoft credentials — creating and managing Microsoft credentials in the Cloud Credentials menu
- Calendar credentials — connecting a calendar as a datasource
- Microsoft Excel datasource
- SharePoint Lists datasource
- Power BI datasource
- Connect Microsoft OneDrive folder