Skip to content
This repository was archived by the owner on Nov 1, 2023. It is now read-only.
3 changes: 3 additions & 0 deletions src/deployment/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,9 @@ def assign_scaleset_identity_role(self) -> None:
)

def assign_user_access(self) -> None:
if self.upgrade:
logger.info("Upgrading: Skipping assignment of current user to app role")
return
logger.info("assinging user access to service principal")
app = get_application(
display_name=self.application_name,
Expand Down