AI Assistant in Microsoft 365 (MS Teams + MS Graph) Access Requirements
AI Assistant in Microsoft 365 (MS Teams + MS Graph) Access Requirements
AI Assistant in Microsoft 365 (MS Teams + MS Graph) Access Requirements
This method is only applicable for customers hosted in the US commercial data centers. For all other regions, use the Non-App Store guide.
As part of this set up process, you will need a Microsoft 365 Admin to consent to the following mandatory permissions:
As part of the set up process, you can also allow the following optional permission:
If you are leveraging a Firewall, CASB, or VDI, and have another layer of network firewall rules. Ensure the following Moveworks owned domain is in an allowlist so that Moveworks can render content in Microsoft Teams Task Modules.
https://app.moveworks.ai
`
CUSTOMERTENANT_ID with the ID of the tenant you are installing the AI Assistant to:
Note: If you cannot find the AI Assistant under Enterprise Application, try: https://login.microsoftonline.com/<CUSTOMER_TENANT_ID>/adminconsent?client_id=b8ec4e1a-e05a-49d0-ba3a-05119b8b62c0&state=12345&redirect_uri=https://www.moveworks.com/msteamsd
Moveworks is able to ensure that the bot’s functionalities are only accessible by approved users during development. The AI Assistant will be visible in the MS Teams app store but users will not be able to communicate with it.
In some cases our customers would like to have more granular control over this access. You can do this in the Microsoft Teams Administration Console.
Navigate to https://admin.teams.microsoft.com/.
Go to the dashboard on the left → Select Teams apps> Setup policies -> Add New Policy.
Create a custom app policy to allow the AI Assistant you just created.
After you’ve installed your AI Assistant into Microsoft Teams. You can customize your AI Assistant as your organization sees fit. When you are ready to start, visit the Customizing your Teams Appstore Bot Page to learn more
Navigate to Moveworks Setup Portal. Go to Core Platform > Connectors > Built-in Connectors and select Microsoft Teams.

Click on NEXT: ADD CREDS

Add a Connection Name and select Authentication Type as Microsoft Bot App Store Auth. Click Save.

Navigate to Chat Platforms > Manage Chatbots and configure your Chatbot with the following settings. Be sure to replace:

NOTE: All other configurations should match the screenshot above exactly
The steps below should be completed when the AI Assistant is ready for go-live.
Visit admin.teams.microsoft.com.
From the options on the left, select Teams apps ⇨ Setup policies.
Click on the Global (Org-wide default) policy and then click Edit.

Toggle the order of the apps so that the installed AI Assistant application is below the Chat option.



Option B: Create policy for a specific group of users in Azure using Powershell
Locate your group in Azure that you want to apply the policy to. Copy the object id for the group.

Open Powershell and enter the following commands. Once complete this can take up to 72 hours to take effect, depending on the size of the group. See here for more information.
Replace the group_id with the correct value above. The group_id is the Azure object id and “Moveworks AI Assistant Users” is the name of the policy you used in the previous step.Example based on above:
There may be cases where you want to remove some of the default permissions from the AI Assistant for your tenant for security purposes. Please note that the following permissions are mandatory for the Teams AI Assistant to work:
If you are not going to leverage a specific permission, you can remove the permission from the application using the Azure Portal or Azure Powershell. The instructions below walk through the steps:
Go to Enterprise applications. Search “moveworks-teamsappstore-prod”. Select the moveworks-teamsappstore-prod app.

Go to Security > Permissions for the moveworks-teamsappstore-prod app.
Click the three dots to the right of the permission that you would like to revoke and select Remove permission

Click Yes, revoke on the confirmation prompt.

Connect-AzureAD$sp = Get-AzureADServicePrincipal -filter "displayName eq 'moveworks-teamsappstore-prod'"
Get-AzureADServiceAppRoleAssignedTo -ObjectId $sp.ObjectId -All $true | Where-Object { $_.PrincipalType -eq "ServicePrincipal" } | ConvertTo-JSONobjectId corresponding to the id based on the table above. You can assign that value to a variable$permissionObjectId.Remove-AzureADServiceAppRoleAssignment -ObjectId $sp.ObjectId -AppRoleAssignmentId $permissionObjectId(you can repeat this step for any other permissions you would like to remove)Get-AzureADServiceAppRoleAssignedTo -ObjectId $sp.ObjectId -All $true | Where-Object { $_.PrincipalType -eq "ServicePrincipal" } | ConvertTo-JSONA: No, currently there can only be one installation of Moveworks in each Microsoft Tenant.
A: No, currently the Moveworks App Store Teams AI Assistant will only work if your Moveworks AI Assistant is hosted within Moveworks Commercial Region.
A: Moveworks AI Assistant can be unpinned from the sidebar in Microsoft Teams by the user.
A: Moveworks AI Assistant will remain removed from the current Teams session, however once the user logs out of teams and logs back on the app setup policy kicks in and re-adds Moveworks Bot.
A: User can move the Moveworks AI Assistant around in the left side bar, however the App Setup Policy will overwrite this once the user logs off and logs back onto teams.
A: You can use the Get-CSUserPolicyAssignment command to see which App Permission Policies and App Setup Policies are currently assigned to a user. Note that it can take up to 72 hours for policy assignments to apply to all members of your tenant.