-
-
Save justinyoo/f8a2df3f8bc38cc7f2fb3651fd28f8e0 to your computer and use it in GitHub Desktop.
Outbound IP Registration to Azure SQL Using Azure Functions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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