I'm trying to create a teams meeting with @microsoft/microsoft-graph-client but first it say that i have to create an access policy for my app with powershell. OK so i'm getting my app id like so:
Get-AzureADApplication
It respond me :
ObjectId AppId DisplayName
-------- ----- -----------
37de00f1-836c-4f51-8924-1b9b6c419dbc f7b9f9d8-3507-46dc-a596-60f437dbab87 BC Teams
So i'm using this id
New-CsApplicationAccessPolicy -Identity Test-policy -AppIds "f7b9f9d8-3507-46dc-a596-60f437dbab87" -Description "description here"
But a 404 error
New-CsApplicationAccessPolicy : Le serveur distant a retourné une erreur : (404) Introuvable.
(that's in french and it just mean server return 404 not found)
I realy need help on this i have no clue on how to fix this.