[BUG] Add-PnPTeamsTab doesnt work with ClientID and ClientSecret #1737
Replies: 3 comments
-
@1nY0urF4c3 - On your last screenshot I can see you're using the old module (SharePointPnPPowerShellOnline) Can you please try with the PnP PowerShell module (this repo) and try again. |
Beta Was this translation helpful? Give feedback.
-
@veronicageek thank you for your feedback. I have now uploaded the current module to Azure. Attached is the screenshot. Unfortunately, a different error message now comes up, which refers to ACs. |
Beta Was this translation helpful? Give feedback.
-
@1nY0urF4c3 - this is by design. https://pnp.github.io/powershell/articles/authentication.html#setting-up-access or After that you will be able to add a teams tab. Check the docs here: https://pnp.github.io/powershell/cmdlets/Add-PnPTeamsTab.html The permission required for that is Group.ReadWrite.All Am converting this issue to a discussion since it is a configuration issue and not an issue with the library itself |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Expected behavior
A powershellrunbook in Azure (Logic-Apps) creates tabs in a Team, using clientID and clientSecret.

Actual behavior
Error cause of lag of permissions for Graph API

Steps to reproduce behavior
Set app-permissions on two ways and start the automation.


What is the version of the Cmdlet module you are running?
Add-PnPTeamsTab
I have no idea, where the lag of permissions is comming from. Some ideas?
Best regards
Beta Was this translation helpful? Give feedback.
All reactions