Describe the bug
Currently in BaseGraphRequestAdapter we have support for the below list of cloud URL
cloudList.put( Clouds.GLOBAL_CLOUD, "https://graph.microsoft.com" );
cloudList.put( Clouds.USGOV_CLOUD, "https://graph.microsoft.us");
cloudList.put( Clouds.CHINA_CLOUD, "https://microsoftgraph.chinacloudapi.cn");
cloudList.put( Clouds.GERMANY_CLOUD, "https://graph.microsoft.de");
cloudList.put( Clouds.USGOV_DOD_CLOUD, "https://dod-graph.microsoft.us");
However in the GraphServiceClient there is no option to configure the URL
here is sample code
AzureIdentityAuthenticationProvider authenticationProvider = new AzureIdentityAuthenticationProvider(
tokenCredential, new String[0], scopes);
GraphServiceClient graphClient = new GraphServiceClient(authenticationProvider, httpClient);
Expected behavior
I feel that GraphServiceClient should have an option available to configure the base URL from the cloudList
GraphServiceClient graphClient = new GraphServiceClient(authenticationProvider, httpClient);
How to reproduce
Try creating GraphServiceClient with custom baseURL
SDK Version
6.34.0
Latest version known to work for scenario above?
No response
Known Workarounds
No known workarounds
Debug output
Click to expand log
```
</details>
### Configuration
_No response_
### Other information
_No response_
Describe the bug
Currently in
BaseGraphRequestAdapterwe have support for the below list of cloud URLHowever in the
GraphServiceClientthere is no option to configure the URLhere is sample code
Expected behavior
I feel that
GraphServiceClientshould have an option available to configure the base URL from the cloudListGraphServiceClient graphClient = new GraphServiceClient(authenticationProvider, httpClient);How to reproduce
Try creating
GraphServiceClientwith custom baseURLSDK Version
6.34.0
Latest version known to work for scenario above?
No response
Known Workarounds
No known workarounds
Debug output
Click to expand log
```