Azure @Microsoft/Microsoft-Graph-Client 404尝试创建访问策略
我正在尝试与 @Microsoft/Microsoft-Graph-Client建立团队会议,但首先说我必须使用PowerShell为应用程序创建访问策略。好的,所以我像这样得到我的应用ID:
Get-AzureADApplication
它响应我:
ObjectId AppId DisplayName
-------- ----- -----------
37de00f1-836c-4f51-8924-1b9b6c419dbc f7b9f9d8-3507-46dc-a596-60f437dbab87 BC Teams
我使用此ID
New-CsApplicationAccessPolicy -Identity Test-policy -AppIds "f7b9f9d8-3507-46dc-a596-60f437dbab87" -Description "description here"
,但是一个404错误
New-CsApplicationAccessPolicy : Le serveur distant a retourné une erreur : (404) Introuvable.
(这是法语,这是指无法返回404)
,我真的需要帮助,我没有有关如何解决此问题的线索。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
请升级
Microsoft Teams PowerShell Module
使用Admin凭据使用Update-Module和Connect-MicrosoftTeams,并带有Admin凭据。
我尝试做同样的事情,并可以成功执行命令
Reference : microsoft-teams-access-policy-new-csapplicationaccesspolicy-returns- 404-SO Ref
Please upgrade the
microsoft teams powershell module
to the latest using Update-Moduleand Connect-MicrosoftTeams with Admin credential .
I tried doing the same and could execute command successfully
Reference : microsoft-teams-access-policy-new-csapplicationaccesspolicy-returns-404-SO ref