Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Josh00/4b2f03f99c638d58c0c47c0657140ded to your computer and use it in GitHub Desktop.
Save Josh00/4b2f03f99c638d58c0c47c0657140ded to your computer and use it in GitHub Desktop.
<実行するコマンド>
Import-Module AzureADPreview;
Connect-AzureAD;
$template = Get-AzureADDirectorySettingTemplate -Id 62375ab9-6b52-47ed-826b-58e47e0e304b;
$setting = $template.CreateDirectorySetting();
$setting["EnableGroupCreation"] = $false; New-AzureADDirectorySetting -DirectorySetting $setting;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment