Create a gist now

Instantly share code, notes, and snippets.

@justinyoo /fluent.sdk.cs Secret
Created Nov 17, 2017

What would you like to do?
Outbound IP Registration to Azure SQL Using Azure Functions
var credentials = SdkContext.AzureCredentialsFactory
.FromServicePrincipal(clientId,
clientSecret,
tenantId,
AzureEnvironment.AzureGlobalCloud);
var azure = Azure.Configure()
.WithLogLevel(logLevel)
.Authenticate(credentials)
.WithSubscription(subscriptionId);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment