This article to show how to use logic app to create a new Tab in teams of type whiteboard, this functionality could be useful if you want to automate the Teams channels
Also, I am utilizing the action HTTP with Azure AD which is an especially useful action since it can accept AAD authentication and can also be used with on-premises data gateway
There are three steps needed to create the whiteboard tap
Create a whiteboard using REST
- Create post request to https://whiteboard.microsoft.com as below
This step will generate a whiteboard ID that should be saved in a variable.
Share the Whiteboard
To be able to add the whiteboard to team the second step will be sharing the whiteboard
This can be done using the same Http connection in the first step.
The action needs to be of type Put
Note that the ID is taken from the first step
- The sharing step will generate a token id that need to be saved into variable as well.
Add the Tab.
- We need to call Graph API as below using new Http connection
1-The team and channel IDs should be known
2- the display name for the tab
3-The team app id is fixed for whiteboard
4 – we need the whiteboard ID and the token to be part of the request
Below full request and response
Full screenshot for the solution
Creating the HTTP connector for whiteboard and GraphAPI