How to show a SharePoint page in Microsoft Teams without the command bar

With a recent update, SharePoint pages started to show the command bar when displayed inside Microsoft Teams allowing the user to quickly modify the page from the Teams context without the need to open the browser.

While this feature was thought to increase the productivity, it can be a bit annoying in scenarios where you simply want the user to get focused on the content.

SharePoint page command bar

Despite not being officially available through the SharePoint application in Microsoft Teams, there is a way of adding the page without showing the bar by doing the following:

  1. On your channel click in the + icon to add a new tab
  2. Look for the SharePoint application and click on it
  3. From the app select the option Any SharePoint site
  4. Paste the link to the page you want to add and after the aspx add the following query string ?env=WebView
    SharePoint page command bar
  5. Click Save

In the following animation you can see the difference between picking the page directly from the list of resources in the SharePoint app and adding it manually with the query string to hide the command bar.

SharePoint page command bar

If you are interested to know more about the query string values that allow you to hide the default SharePoint components like the navigation have a look here.


No comments yet

Leave a Reply


I've been working with Microsoft Technologies over the last ten years, mainly focused on creating collaboration and productivity solutions that drive the adoption of Microsoft Modern Workplace.

%d bloggers like this: