Skip to content

Serviceconnector-passwordless Don't change the entra admin if I am already in a group assigned to the entra admin #27920

@shaunpearsondev

Description

@shaunpearsondev

Describe the bug

When running

az webapp connection create sql

My specific user is always assigned to the entra admin for the resource targeted although I already have permissions to perform all the steps due to being in the group assigned

Related command

az webapp connection create sql

Errors

NA

Issue script & Debug output

Setting current user as database server AAD admin: user=xxx object id=yyy

Expected behavior

As I already have permissions the AAD/Entra admin shouldn't need to be changed

Environment Summary

azure-cli 2.54.0

core 2.54.0
telemetry 1.1.0

Extensions:
ai-examples 0.2.5
ml 2.21.1
serviceconnector-passwordless 0.3.12
ssh 2.0.2

Dependencies:
msal 1.24.0b2
azure-mgmt-resource 23.1.0b2

Python location '/usr/bin/python3.9'
Extensions directory '/home/xxx/.azure/cliextensions'
Extensions system directory '/usr/lib/python3.9/site-packages/azure-cli-extensions'

Python (Linux) 3.9.14 (main, Oct 12 2023, 19:48:32)
[GCC 11.2.0]

Legal docs and information: aka.ms/AzureCliLegal

Your CLI is up-to-date.

Additional context

No response

Metadata

Metadata

Assignees

Labels

Auto-AssignAuto assign by botService AttentionThis issue is responsible by Azure service team.Service Connectoraz webapp/functionapp/springapp/containerapp connectionWeb Appsaz webappapp-service-transferbugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions