Skip to content

Conversation

@NirajC-Microsoft
Copy link
Contributor

Purpose

This pull request makes a targeted update to the way the createdBy tag parameter is determined in the infra/main.bicep file. The logic now checks if the userPrincipalName property exists on the deployer; if it does, it uses the username portion, otherwise it falls back to the deployer's objectId.

  • Improved handling of the createdBy tag:
    • The createdBy parameter now checks for the existence of userPrincipalName on the deployer object, and uses either the username (before the @) or falls back to the deployer's objectId if not present.
  • ...

Does this introduce a breaking change?

  • Yes
  • No

How to Test

  • Get the code
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install
  • Test the code

What to Check

Verify that the following are valid

  • ...

Other Information

@Roopan-Microsoft Roopan-Microsoft merged commit 22f2114 into dev-v3 Sep 23, 2025
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants