Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MSFT_AADEntitlementManagementConnectedOrganization: cannot create resource #3738

Closed
sandrola opened this issue Oct 3, 2023 · 0 comments · Fixed by #3739
Closed

MSFT_AADEntitlementManagementConnectedOrganization: cannot create resource #3738

sandrola opened this issue Oct 3, 2023 · 0 comments · Fixed by #3739

Comments

@sandrola
Copy link
Contributor

sandrola commented Oct 3, 2023

Description of the issue

The DSC resource cannot create new Connected Organisation, on line 317 the cmdlet: New-MgBetaEntitlementManagementConnectedOrganization need the "DomainName", this is not present as attribute (only the ID).

Solution:
Read the DomainName from the ID with this Graph request:
https://graph.microsoft.com/beta/tenantRelationships/microsoft.graph.findTenantInformationByTenantId(tenantId='{TenantId}')

Microsoft 365 DSC Version

V1.23.917.1

Which workloads are affected

Azure Active Directory

The DSC configuration

No response

Verbose logs showing the problem

No response

Environment Information + PowerShell Version

No response

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 a pull request may close this issue.

1 participant