我们如何使用联合凭证和GitHub工作流对Microsoft Graph进行身份验证?
我已经在Azure活动目录下的"应用程序注册"下注册了一个应用程序。我计划在Azure应用程序注册中使用联合凭据(不是客户端秘密或证书),以便从GitHub Actions工作流中调用Microsoft Graph API。但是在微软的文档中,我只找到了如何使用客户端秘密进行身份验证。
https://learn.microsoft.com/en-us/graph/sdks/choose-authentication-providers?tabs=Javascript
谢谢你的帮助FederatedIdentityCredentialRequest可用于测试API,请查看- https://github.com/microsoftgraph/msgraph-beta-sdk-java/blob/c116f3062b6ea19bd86cd947fd1981a62654227b/src/main/java/com/microsoft/graph/requests/FederatedIdentityCredentialRequest.java
希望这对你有帮助。
谢谢。