Microsoft SharePoint Integration in Q-Play – Display SharePoint Pages on Screens

Microsoft SharePoint integration

The Microsoft SharePoint integration fetches news, calendars, lists and pages from your SharePoint sites, so the Microsoft SharePoint app can show them on your screens. The app then turns the content into signage-friendly layouts. Q-Play only reads from SharePoint. It never changes anything.

Before you start, see Working with integrations in Q-Play if you haven't set up an integration before.


What you need

  • A Microsoft 365 tenant with SharePoint Online.
  • Someone who can approve the connection. Depending on the option you choose in step 1, this is a Global Administrator, or a user who can see the content plus an administrator who approves the app once.
  • The addresses (URLs) of the SharePoint content you want to show, copied straight from your browser.

1. Choose how to connect

In the Authorization setting, choose one of the three options.


Authorize with Microsoft (admin consent) is the right choice for most customers. A Global Administrator approves the connection once, and Q-Play can then read all SharePoint sites in your organization. There is nothing to maintain afterwards.

Sign in as yourself lets any user sign in, and Q-Play can only read what that user can see in SharePoint. Use this when a screen should only show what a specific account has access to.

Use your own app registration is for organizations that require their own app registration in Microsoft. Q-Play can read what your own app is allowed to read.


2. Connect to Microsoft

What you do next depends on the option you chose.

Authorize with Microsoft

A Global Administrator clicks Authorize and follows Microsoft's sign-in and approval steps. Q-Play asks for read-only access to SharePoint sites and files (the Microsoft Graph permissions Sites.Read.All and Files.Read.All).


Sign in as yourself

Click Sign in with Microsoft and sign in with the account whose access the screens should use. Q-Play asks for read-only access to SharePoint sites and files, and for permission to stay signed in, so nobody has to sign in again (the Microsoft Graph permissions Sites.Read.All, Files.Read.All and offline_access).

Because these permissions cover the whole organization, Microsoft requires an administrator to approve them once, even though a regular user signs in.

After you sign in, you have 10 minutes to set up your first job, save it and run it manually. See Working with integrations in Q-Play for how to run a job. This time limit is set by Microsoft and only applies the first time. If no job runs within 10 minutes, the integration fails, and you have to click Sign in with Microsoft again.

We recommend signing in with a dedicated Q-Play user rather than a personal account. If the password of the user is changed, or the user is deleted, the integration stops working.


Use your own app registration

Enter the Tenant ID, Client ID and Client secret of your own app registration.

Setting up the app registration is done in Microsoft Entra ID by your IT department. Ask them for an app registration that has:

  • The application permissions Sites.Read.All and Files.Read.All on Microsoft Graph
  • Admin consent granted for those permissions
  • A client secret

See Microsoft's guide to registering an application in Microsoft Entra ID.


3. Add the jobs you need

Each kind of content is its own job in the integration: News, Calendar & Events, List and Page. Add a job for each kind of content you want to show. Every job takes a single address that you copy from your browser while viewing the content in SharePoint.

All jobs fetch new data on a schedule, which you set in Repeat every: 15 minutes, 30 minutes or 1 hour. Calendar & Events jobs can also repeat every 6 hours. Page jobs can repeat at most every hour, because SharePoint's image links stop working after about an hour.

News

Paste any address on the site whose news you want to show, for example the site's home page, such as https://contoso.sharepoint.com/sites/Intranet.

Max news items to fetch sets how many news posts the job fetches. The default is 5. If you want the tiles on the news board to swap between posts, set this at least as high as Stories in rotation in the app.



Calendar & Events

Paste any address on the site whose calendars you want to show.

The job reads every calendar and event list on the site and merges them into one feed. You choose which of them a screen shows later, in the app's Lists to show setting. The job finds calendars and event lists by their type and by names such as Calendar, Events, Kalender, Begivenheder or Arrangementer. In SharePoint, a classic calendar is created via Site contents, New, App, Calendar. The modern Events web part creates an event list automatically.

Time zone must match the time zone of the SharePoint site. The default is Copenhagen (Denmark). See "Check your SharePoint site's time zone" below.

Max events to fetch sets how many events the job fetches. The default is 20 and the maximum is 50.



List

Open the list in SharePoint and paste its address, for example https://contoso.sharepoint.com/sites/Intranet/Lists/Inventory/AllItems.aspx.

Max rows sets how many rows the job fetches, from 50 to 999.


Page

Open the page in SharePoint and paste its address, for example https://contoso.sharepoint.com/sites/Intranet/SitePages/Welcome.aspx.



Check your SharePoint site's time zone

If you use Calendar & Events, check the time zone of the SharePoint site. SharePoint stores every time you enter using the site's own time zone, and new sites are often set to (UTC-08:00) Pacific Time. If a site is set to Pacific Time, a meeting entered as 12:00 shows at 21:00 on a screen in Denmark.

A site owner can change the time zone in the site's regional settings. For Denmark, choose (UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna. See Microsoft's guide to changing regional settings for a site.

After changing the time zone, enter the times of existing events again. SharePoint doesn't convert events that were created before the change.

The time zone is set per site, so check every site you show calendars from.


Troubleshooting

Calendar times are several hours off, for example 9 hours late: the SharePoint site's time zone is wrong. See "Check your SharePoint site's time zone" above.

The news board doesn't swap between posts: the job fetches fewer posts than the app shows. Raise Max news items to fetch on the News job.

Sign in as yourself stops working: the first job didn't run within 10 minutes of signing in, the user's password has been changed, the user has been deleted, or the user's sign-in has been revoked. Click Sign in with Microsoft in the integration again. If the user was deleted, sign in with another user.