How can we authenticate to Microsoft Graph using federated credentials and GitHub workflows?

I have registered an app in Azure Active Directory under 'App Registrations'. And I'm planning to use federated credentials (not client secret or certificate) in Azure App Registration to make Microsoft Graph API calls from GitHub Actions workflows. But in Microsoft documentation, I found only about how to authenticate using a client secret.

https://learn.microsoft.com/en-us/graph/sdks/choose-authentication-providers?tabs=Javascript

1

There are 1 best solutions below

0
vicky kumar On

Thanks for reaching out FederatedIdentityCredentialRequest is available for beta API, could you please check out - https://github.com/microsoftgraph/msgraph-beta-sdk-java/blob/c116f3062b6ea19bd86cd947fd1981a62654227b/src/main/java/com/microsoft/graph/requests/FederatedIdentityCredentialRequest.java

hope this will help you.

Thanks.