-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Bicep version
Bicep CLI version 0.38.33 (6bb5d5f859)
Resource and API version
"microsoftGraphV1": "br:mcr.microsoft.com/bicep/extensions/microsoftgraph/v1.0:1.0.0"
extension microsoftGraphV1
resource existingGroup 'Microsoft.Graph/[email protected]' existing = {
uniqueName: 'GroupUniqueName'
}
output existingGroup string = existingGroup.id
The actual deployment used a different group name.
Auth flow
Interactive
Deployment details
The tracking id is '81148791-c8f2-4e4b-ab1b-4b5814316ad7'.
Graph client request id: 4fd96728-6681-41e3-b404-fee3f08a23d9.
Describe the bug
I have the same group defined for different environments in Entra without using bicep. I have set the uniquename for all of them manually using "update-MgGroup -GroupId -UniqueName GroupUniqueName".
When getting those existing groups via bicep some are working fine but for others I always receive the same error:
"message":"Resource not found for the segment 'https:'.
To Reproduce
Currently unknown because some groups are working fine with manually assigning the uniquename and others are not working.