Use ClientSecretCredentialBuilder to connect to MS Graph in China
Hi,
We want to use MS Graph using the Java Azure SDK. For Azure public cloud we used the ClientSecretCredentialBuilder to set clientID, tenantID and client secret. Now we want to make our app also be able to use MS Graph for China. For this, we need to use https://microsoftgraph.chinacloudapi.cn instead of https://graph.microsoft.com but we don't know how we can set this configuration. This is the only problem still left.
The environment variable AZURE_AUTHORITY_HOST was already set correctly. This was done inside our Github Actions workflow. So if there is a similar configuration, this can be also set like this.