code: public static Configuration configureWithAzureAdTokenProvider(
              Configuration configuration,
              URI apiServer,
              TokenProvider azureAdTokenProvider) {
  
          configuration.setProperty(AZURE_AD_API_SERVER, apiServer.toString());
          configuration.setProperty(AZURE_AD_TOKEN_PROVIDER, azureAdTokenProvider);
  
          return configuration;
      }
docs: Setup a Configuration with specified Configuration, AMS account and token provider
  @param configuration The target configuration
  @param apiServer the AMS account uri
  @param azureAdTokenProvider the token provider
  @return the target Configuration