diff --git a/src/Authentication/Common.Authentication.Tests/AzureRMProfileTests.cs b/src/Authentication/Common.Authentication.Tests/AzureRMProfileTests.cs index dfd399239890..1db33c489318 100644 --- a/src/Authentication/Common.Authentication.Tests/AzureRMProfileTests.cs +++ b/src/Authentication/Common.Authentication.Tests/AzureRMProfileTests.cs @@ -106,6 +106,7 @@ public void SavingProfileWorks() ""Name"": ""Contoso Test Subscription"", ""Environment"": ""testCloud"", ""Account"": ""me@contoso.com"", + ""State"": ""Enabled"", ""Properties"": { ""Tenants"": ""3c0ff8a7-e8bb-40e8-ae66-271343379af6"" } @@ -146,6 +147,7 @@ public void SavingProfileWorks() Environment = environment.Name, Id = new Guid(), Name = "Contoso Test Subscription", + State = "Enabled", Properties = { { AzureSubscription.Property.Tenants, tenantId.ToString() } } }; var tenant = new AzureTenant diff --git a/src/Authentication/Common.Authentication/Models/AzureSubscription.cs b/src/Authentication/Common.Authentication/Models/AzureSubscription.cs index 8e999a29172f..8cd7aef66de7 100644 --- a/src/Authentication/Common.Authentication/Models/AzureSubscription.cs +++ b/src/Authentication/Common.Authentication/Models/AzureSubscription.cs @@ -28,6 +28,8 @@ public partial class AzureSubscription public string Account { get; set; } + public string State { get; set; } + public Dictionary Properties { get; set; } public enum Property