Skip to content

Commit 253ada6

Browse files
committed
Added unintended sp modification message
1 parent 35dc836 commit 253ada6

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

docs-ref-conceptual/Latest-version/azure-cli-sp-tutorial-8.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,13 @@ If you try to create a service principal using a device that's not compliant wit
7070
organization's access policies, you receive the message "...Conditional Access policy requires a
7171
compliant device...". Switch to a computer that meets your organization's access policies.
7272

73+
### Potential identity-modification risk
74+
75+
The `az ad sp create-for-rbac` and `az ad sp create` commands can modify an existing application or
76+
service principal if another object shares the same **display name**. Display names aren't unique
77+
and can change, which could result in credential loss or incorrect RBAC assignments. Use a **unique
78+
object ID or app ID** instead.
79+
7380
## See also
7481

7582
- [Application and service principal objects in Microsoft Entra ID][03]

0 commit comments

Comments
 (0)