We've been trying to generate a meeting using the api https://graph.microsoft.com/v1.0/users/object-id/onlineMeetings
Where object-id is well, the object-id linked to our global admin user.
The issue we are having is that we get the error "No Application Access Policy found for this app", looking through the documentation we found this link on how to create and assign the application access policy https://learn.microsoft.com/en-us/graph/cloud-communication-online-meeting-application-access-policy
But when trying to run the commands from https://shell.azure.com/ we are getting a 404 error.
To be more specific, when running the command New-CsApplicationAccessPolicy, this error appears:
New-CsApplicationAccessPolicy: The remote server returned an error: (404) Not Found.
Also it may be relevant but when trying to connect through the shell console using our admin credentials:
$userCredential = Get-Credential
Connect-MicrosoftTeams -Credential $userCredential
This error appears:
Connect-MicrosoftTeams: One or more errors occurred. (Unsupported User Type 'Unknown'. Please see https://aka.ms/msal-net-up. )
Connect-MicrosoftTeams: Unsupported User Type 'Unknown'. Please see https://aka.ms/msal-net-up.
Connect-MicrosoftTeams: Object reference not set to an instance of an object.
And just in case, our username is our email and our normal azure password.
Thanks in advance!