You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.
I need to add an Excel/PPTx file as a Tab in a Channel in Teams. And for that we need to provide the -Entityid as mandatory parameter.
Do we have any cmdlet to get the -EntityId of the file? Or do we have any other workaround to achieve the required results?
If we add a Tab manually into Teams, then we may get the -EntityId. But this not the requirement and not the way to automate the script. Or we can find this by opening the file in SharePoint and looking at the address bar – the URL will have a sourcedoc=%7B{sourceDocId}%7D clause. But how to get that URL from the file?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello Team,
I need to add an Excel/PPTx file as a Tab in a Channel in Teams. And for that we need to provide the -Entityid as mandatory parameter.
Do we have any cmdlet to get the -EntityId of the file? Or do we have any other workaround to achieve the required results?
If we add a Tab manually into Teams, then we may get the -EntityId. But this not the requirement and not the way to automate the script. Or we can find this by opening the file in SharePoint and looking at the address bar – the URL will have a sourcedoc=%7B{sourceDocId}%7D clause. But how to get that URL from the file?
Can you please look into the issue and help?
Beta Was this translation helpful? Give feedback.
All reactions