Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

Commit

Permalink
Merge pull request #2923 from gautamdsheth/feature/disableCustomAppAuth
Browse files Browse the repository at this point in the history
Feature: Added support for DisableCustomAppAuthentication property
  • Loading branch information
erwinvanhunen authored Oct 5, 2020
2 parents bb51f2a + d884f10 commit 351706a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Commands/Admin/SetTenant.cs
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,9 @@ The only two characters that can be managed at this time are the # and % charact

[Parameter(Mandatory = false, HelpMessage = "Boolean indicating if Azure Information Protection (AIP) should be enabled on the tenant. For more information, see https://docs.microsoft.com/microsoft-365/compliance/sensitivity-labels-sharepoint-onedrive-files#use-powershell-to-enable-support-for-sensitivity-labels")]
public bool? EnableAIPIntegration;

[Parameter(Mandatory = false)]
public bool? DisableCustomAppAuthentication;

[Parameter(Mandatory = false, HelpMessage = "Boolean indicating if a news digest should automatically be sent to end users to inform them about news that they may have missed. On by default. For more information, see https://aka.ms/autonewsdigest")]
public bool? EnableAutoNewsDigest;
Expand Down Expand Up @@ -975,6 +978,11 @@ protected override void ExecuteCmdlet()
Tenant.EnableAIPIntegration = EnableAIPIntegration.Value;
isDirty = true;
}
if (DisableCustomAppAuthentication.HasValue)
{
Tenant.DisableCustomAppAuthentication = DisableCustomAppAuthentication.Value;
isDirty = true;
}
if (EnableAutoNewsDigest.HasValue)
{
Tenant.EnableAutoNewsDigest = EnableAutoNewsDigest.Value;
Expand Down

0 comments on commit 351706a

Please sign in to comment.