To create a Microsoft 365 group named TeamsAdmin that can manage Teams Phone configurations without being able to manage teams and channels, you need to use PowerShell to create the group and assign the Teams Communications Administrator role to it. Here are the steps to follow:
Install-Module -Name AzureAD
Connect to Azure Active Directory by running the following cmdlet and entering your Microsoft 365 username and password:
Connect-AzureACreate a new Microsoft 365 group named TeamsAdmin by running the following cmdlet:
New-AzureADMSGroup -DisplayName "TeamsAdmin" -Description "Group for managing Teams Phone configurations" -MailEnabled $false -MailNickName "TeamsAdmin" -SecurityEnabled $true -GroupTypes "Unified"
Get-AzureADMSGroup -Filter "DisplayName eq 'TeamsAdmin'"
Copy the object ID from the output and assign it to a variable, such as $groupID, by running the following cmdlet:
$groupID = "your-object-iInstall the Microsoft Teams PowerShell module by running the following cmdlet:
Install-Module -Name MicrosoftTeams
Connect to Microsoft Teams by running the following cmdlet and entering your Microsoft 365 username and password:
Connect-MicrosoftTeams
Get-CsOnlineRole -Identity "Teams Communications Administrator"
Copy the role ID from the output and assign it to a variable, such as $roleID, by running the following cmdlet:
$roleID = "your-role-id"
Assign the Teams Communications Administrator role to the TeamsAdmin group by running the following cmdlet:
New-CsOnlineRoleAssignment -SecurityGroupId $groupID -RoleDefinitionName $roleID
Now, you have created a Microsoft 365 group named TeamsAdmin that can manage Teams Phone configurations without being able to manage teams and channels. You can add members to this group by using the Azure Active Directory admin center or PowerShell.