Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion scripts/adlsgen2setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@ async def create_or_get_group(self, group_name: str):
logging.info(f"Could not find group {group_name}, creating...")
group = {
"displayName": group_name,
"groupTypes": ["Unified"],
"mailEnabled": False, # Set mailEnabled to False
"mailNickname": group_name,
"securityEnabled": self.security_enabled_groups,
}
async with session.post("https://graph.microsoft.com/v1.0/groups", json=group) as response:
Expand Down
2 changes: 1 addition & 1 deletion scripts/adlsgen2setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

. ./scripts/loadenv.sh

if [ -n "$AZURE_ADLS_GEN2_STORAGE_ACCOUNT" ]; then
if [ -z "$AZURE_ADLS_GEN2_STORAGE_ACCOUNT" ]; then
echo 'AZURE_ADLS_GEN2_STORAGE_ACCOUNT must be set to continue'
exit 1
fi
Expand Down
Loading