tools
tools
Refer to the following steps to prepare and run the Assist Tool:
Then after entering 1, enter the full path of the CSV file, and
press Enter on the keyboard.
i.
ii. Create a CSV file, and enter the ID of chats you want to
delete in each row.
ii. Create a CSV file, and ID of chats you want to add the
service account in each row.
1. Scan the source chats to identify where the source chat members of
those destination users reside by completing the following steps:
a. Create a custom app in source tenant and add the following
permissions to the app.
API Permission Type Description
h. Copy the IDs of destination chats that you want to hide from
those destination users to the Chats.csv file.
i. Ask those destination users for which you want to hide the
destination chats to run the TeamChatData.ps1 file with
Windows PowerShell, and sign in with their credentials.
After the job is finished, the chats will be hidden from those
destination users. A report file with the hidden results will be
generated in the tool folder.
1. Access the storage location of tool package and download the ZIP file
of the tool.
2. Extract the ZIP file to a location with a network connection.
3. Ask the end user to run the TeamChatMarkAsRead.ps1 file with
Windows PowerShell.
*Note: Make sure the user’s machine has been installed with the
Microsoft Graph PowerShell module. The module can be installed
by executing the Install-Module Microsoft.Graph -Scope
CurrentUser command.
5. After the job is finished, the end user can click any key on the
keyboard to exit PowerShell.
The mark results of the end user’s chats will be recorded to a CSV file
that is stored in the same folder as the TeamChatMarkAsRead.ps1
file.
To replace links for all destination chat users, you can configure only
one URL mapping using the current domain name in the Original Url
column and the final domain name in the New Url column for easy
use, as the screenshot below.