Skip to content

Commit

Permalink
Fixing security group
Browse files Browse the repository at this point in the history
  • Loading branch information
julialawrence committed Nov 13, 2023
1 parent 6677192 commit a4c3b4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/azure_active_directory.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ def create_aad_group(group_name, description, user_id, access_token, dry_run=Fal
"description": description,
"mailEnabled": False,
"mailNickname": group_name.replace(" ", "").lower(),
"securityEnabled": False, # Unified groups are not security groups
# "visibility": "Private", # Setting the group as a private group
"securityEnabled": True,
"visibility": "Private", # Setting the group as a private group
}

# If dry_run is enabled, we skip the actual creation process
Expand Down

0 comments on commit a4c3b4c

Please sign in to comment.