【发布时间】:2022-01-04 14:14:21
【问题描述】:
我在 Azure 中创建了一个启用了 Azure 身份验证的 WebApp。我想使用here 所述的客户端密码访问此 Web 应用程序。
所以我使用了与答案中相同的脚本,但我在最后一个 invoke-RestMethod 上有一个错误:
invoke-RestMethod : {"message":"Missing id token. Unauthorized."}
如何解决这个问题?仅供参考我的$authenticationToken最后是
authenticationToken : eyJhbGci...
user : @{userId=sid:dcc5f...7f37ec9}
任何帮助将不胜感激。
【问题讨论】:
标签: azure powershell authentication web-applications token