Issues generating application access policy on application to create an online meeting through the graph api

Susana Lau 20 Reputation points
2023-02-23T00:06:14.97+00:00

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!

Microsoft Security | Microsoft Graph
Microsoft Teams | Microsoft Teams for business | Other
0 comments No comments
{count} votes

Answer accepted by question author
  1. CarlZhao-MSFT 46,406 Reputation points
    2023-02-23T08:03:37.34+00:00

    Hi @Susana Lau

    To do this, I created a new tenant and reproduced your issue. It seems that a Microsoft 365 license is missing from your tenant, which is what is causing the issue.

    Before:

    User's image

    After:

    User's image

    Hope this helps.

    If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.