Skip to content

Instantly share code, notes, and snippets.

@asith-w
Created June 1, 2020 05:49
Show Gist options
  • Save asith-w/25ebdd79d2ef487440fca0d774d1e45c to your computer and use it in GitHub Desktop.
Save asith-w/25ebdd79d2ef487440fca0d774d1e45c to your computer and use it in GitHub Desktop.
appsettings.json
{
"AzureAd": {
// Azure cloud instance among:
// - "https://login.microsoftonline.com/" for Azure public cloud
// - "https://login.microsoftonline.us/" for Azure US government
// - "https://login.microsoftonline.de/" for Azure AD Germany
// - "https://login.chinacloudapi.cn/" for Azure AD China operated by 21Vianet
"Instance": "https://login.microsoftonline.com/",
// Azure AD audience among:
// - "TenantId" as a GUID obtained from the Azure portal to sign in users in your organization
// - "organizations" to sign in users in any work or school account
// - "common" to sign in users with any work or school account or Microsoft personal account
// - "consumers" to sign in users with a Microsoft personal account only
"TenantId": "",
// Client ID (application ID) obtained from the Azure portal
"ClientId": "",
"ClientSecret": "",
"Scopes": [ "https://graph.microsoft.com/.default" ]
},
"ServiceBus": {
"ConnectionString": "",
"TopicName": "",
"SubscriptionName": ""
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment