Skip to content

Commit 436ea35

Browse files
committed
Merge branch 'main' into loadazdenv
2 parents 59e01c8 + 0225f75 commit 436ea35

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

app/backend/app.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,7 @@ async def setup_clients():
448448
# The managed identity is setup in the infra/ folder.
449449
azure_credential: Union[AzureDeveloperCliCredential, ManagedIdentityCredential]
450450
if RUNNING_ON_AZURE:
451+
current_app.logger.info("Setting up Azure credential using ManagedIdentityCredential")
451452
if AZURE_CLIENT_ID := os.getenv("AZURE_CLIENT_ID"):
452453
# ManagedIdentityCredential should use AZURE_CLIENT_ID if set in env, but its not working for some reason,
453454
# so we explicitly pass it in as the client ID here. This is necessary for user-assigned managed identities.

azure.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ services:
99
language: py
1010
# Please check docs/azure_container_apps.md for more information on how to deploy to Azure Container Apps
1111
# host: containerapp
12-
docker:
13-
remoteBuild: true
1412
host: appservice
1513
hooks:
1614
prebuild:

scripts/adlsgen2setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,11 @@ async def create_or_get_group(self, group_name: str):
139139
logger.info(f"Could not find group {group_name}, creating...")
140140
group = {
141141
"displayName": group_name,
142-
"groupTypes": ["Unified"],
143142
"securityEnabled": self.security_enabled_groups,
143+
"groupTypes": ["Unified"],
144+
# If Unified does not work for you, then you may need the following settings instead:
145+
# "mailEnabled": False,
146+
# "mailNickname": group_name,
144147
}
145148
async with session.post("https://graph.microsoft.com/v1.0/groups", json=group) as response:
146149
content = await response.json()

0 commit comments

Comments
 (0)