powershell - Powershell:Get-MsalToken 错误 AADSTS7000218
问题描述
运行以下 Powershell 命令
$tokenresponse = Get-MsalToken -ClientId $clientID -TenantId $tenantID -Interactive -RedirectUri "http://localhost"
给我错误:
AADSTS7000218: The request body must contain the following parameter: 'client_assertion' or 'client_secret'.
我找到的所有解决方案都指向了方向,即在 Azure Protal 中我应该启用“允许公共客户端流”,但启用了此设置。知道如何获得令牌(我需要获得授权的令牌)
解决方案
推荐阅读
- r - 使用 httr 为 Trello 创建 oauth 令牌时如何修复“invalid return_url”错误?
- python - vscode 没有捕捉到 flake8 输出
- python - 我不知道如何在 ubuntu tensorflow-gpu 上执行此操作,“E tensorflow / core / util / events_writer.cc: 104]
- html - 容器在 Bootstrap 项目中未正确对齐
- linux-kernel - Linux 示例 BPF 未编译
- java - 如何为我的 RMI 客户端/服务器应用程序制作 GUI?
- python - 在 max () 中面临 ValueError
- sql - 使用 SQL Server 发送电子邮件并在特定日期之前进行检查
- javascript - 如何监听 XMLHttpRequests - 浏览器扩展
- c# - 比较数组中的字符