Forum Discussion
365CS
Jul 27, 2020Copper Contributor
Script for Teams-Chat backup
Sometimes it is necessary to save the chat history of a Teams-Channel. I wrote a simple script, where you can select the needed Team(s) and outputting the Chat-Content to a html File. If there are an...
Dominik Schneider
May 17, 2021Copper Contributor
Doesn't seem to work for me:
AADSTS70011: The provided request must include a 'scope' input parameter. The provided value for the input parameter 'scope' is not valid. The scope https://graph.microsoft.com/.default https://graph.microsoft.com/Group.Read.All offline_access openid profile is not valid. .default scope can't be combined with resource-specific scopes.
dimitreesamuel
Sep 09, 2021Copper Contributor
Probably a little late, you need to ensure you have the Group Read-All permissions is granted in Azure Active directory. I'm pretty sure this is granted from portal.azure.com
when executing a script like this in powershell you should get prompted to input your credentials. I did this for a Microsoft Planner script to export and report from Tenant A to Tenant B.