Skip to content

Commit 87c330c

Browse files
author
mattosaurus
committed
Set AzureTenantId from options
1 parent ce54cd0 commit 87c330c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Serilog.Sinks.MSSqlServer/Configuration/Implementations/Microsoft.Extensions.Configuration/MicrosoftExtensionsSinkOptionsProvider.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ private static void ReadAzureManagedIdentitiesOptions(IConfigurationSection conf
3838
{
3939
SetProperty.IfNotNull<bool>(config["useAzureManagedIdentity"], val => sinkOptions.UseAzureManagedIdentity = val);
4040
SetProperty.IfNotNull<string>(config["azureServiceTokenProviderResource"], val => sinkOptions.AzureServiceTokenProviderResource = val);
41+
SetProperty.IfNotNull<string>(config["azureTenantId"], val => sinkOptions.AzureTenantId = val);
4142
}
4243
}
4344
}

0 commit comments

Comments
 (0)