Open scrocquesel-ml150 opened 4 weeks ago
You could configure your GraphServiceClients manually with TokenCredentials
from Azure.Identity and then use the allready proposed KeyedService feature for dependency injection to achive this.
If i understand you correctly you basically want this beeing integrated into the Configuration wrapper - right?
You could configure your GraphServiceClients manually with
TokenCredentials
from Azure.Identity and then use the allready proposed KeyedService feature for dependency injection to achive this.If i understand you correctly you basically want this beeing integrated into the Configuration wrapper - right?
Yes, that's exactly that.
Is your feature request related to a problem? Please describe. I have an application that connect to multiple tenants. I would like to be able to retrieve a GraphServiceClient configured for a given tenant. This should be similar to serviceName for DownstreamApi
Describe the solution you'd like
Describe alternatives you've considered I tried do it myself but utility classes like
GraphAuthenticationProvider
andGraphClientFactory
are internal.Additional context N/A