Error message is displayed to user on creation of Template. This happens when new Tenant is used:

"Error creating template 'Test123': Internal Server Error Internal: "Code: Authorization_RequestDenied\r\nMessage: Insufficient privileges to complete the operation.\r\n\r\nInner error\r\n""


To solve this error please execute the following Powershell script:

$app = Get-AzureADServicePrincipal -SearchString 'TeamsManagerProd'
$role = Get-AzureADDirectoryRole | Where-Object {$_.DisplayName -eq “Company Administrator”}
Add-AzureADDirectoryRoleMember -ObjectId $role.ObjectId -RefObjectId $app.ObjectId

Note: If user is not able to execute the powershell, a ticket can be submitted to Solutions2Share and we would assist further on this issue.

Back to Common Issues in Teams Manager