Hello,
I'm trying to use the following module using an App registrations on Microsoft Entra. To do so I connect to the App Registration using a powershell script that connect to Microsoft Teams "Connect-MicrosoftTeams":
"Set-CsPhoneNumberAssignment -Identity $member.UserPrincipalName -EnterpriseVoiceEnabled $true"
When running this script I receive the following error : Microsoft.Teams.ConfigAPI.Cmdlets.internal\Set-CsPhoneNumberAssignment : Access Denied.
What additional permissions does my app need to use "Set-CsPhoneNumberAssignment" successfully?
My app currently has the following permissions: Microsoft Graph : "Group.ReadWrite.All" "TeamSettings.ReadWrite.All". I have tried other permissions, but with no luck.
Thank you!