-
Notifications
You must be signed in to change notification settings - Fork 39
Description
Thanks for reporting the bug. Please ensure you've gone through the following checklist before opening an issue:
- Make sure you can reproduce this issue using the latest released version of
Microsoft.EntraorMicrosoft.Entra.Beta. - Please search the existing issues to see if there has been a similar issue filed.
Describe the bug
Several Add cmdlets for Agent Identity Blueprints don't handle adding new values to multi-value properties, nor do they handle replacing existing property values. This includes at least:
- Add-EntraBetaInheritablePermissionsToAgentIdentityBlueprint
- Add-EntraBetaScopeToAgentIdentityBlueprint
To Reproduce
Steps to reproduce the behavior:
- Execute Invoke‑EntraBetaAgentIdInteractive or manually create an AIB and populate one or both of the above properties
- Run the Add cmdlet
- Error will be thrown stating a value for that property already exists
Expected behavior
Either A) automatically append the new value to the property, B) ask the user if they want to append/replace, or C) offer-append and/or -replace modifiers to allow the user to update the property after some values have already been added (without having to manually remove the existing values).
Debug Output
⚠ ATTENTION: Be sure to remove any sensitive information that may be in the logs.
Debug Output
I'm filing this from my testing notes and didn't take a debug output during my tests, but I can go back and get one if needed.Module Version
1.2.0 (Beta)
Environment Data
Same as comment in Debug Output section.
Screenshots
N/A
Additional context
N/A