diff --git a/bitwarden_license/src/Commercial.Core/Services/ProviderService.cs b/bitwarden_license/src/Commercial.Core/Services/ProviderService.cs index 05ee0cf30a..d186eb6d41 100644 --- a/bitwarden_license/src/Commercial.Core/Services/ProviderService.cs +++ b/bitwarden_license/src/Commercial.Core/Services/ProviderService.cs @@ -357,7 +357,7 @@ public class ProviderService : IProviderService if (organization.UseSecretsManager) { throw new BadRequestException( - "Organizations with a Managed Service Provider do not support Secrets Manager."); + "The organization is subscribed to Secrets Manager. Please contact Customer Support to manage the subscription."); } var providerOrganization = new ProviderOrganization diff --git a/bitwarden_license/test/Commercial.Core.Test/Services/ProviderServiceTests.cs b/bitwarden_license/test/Commercial.Core.Test/Services/ProviderServiceTests.cs index 6e7dfa588c..2a6e68bfb4 100644 --- a/bitwarden_license/test/Commercial.Core.Test/Services/ProviderServiceTests.cs +++ b/bitwarden_license/test/Commercial.Core.Test/Services/ProviderServiceTests.cs @@ -445,7 +445,7 @@ public class ProviderServiceTests var exception = await Assert.ThrowsAsync( () => sutProvider.Sut.AddOrganization(provider.Id, organization.Id, key)); - Assert.Equal("Organizations with a Managed Service Provider do not support Secrets Manager.", exception.Message); + Assert.Equal("The organization is subscribed to Secrets Manager. Please contact Customer Support to manage the subscription.", exception.Message); } [Theory, BitAutoData]