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

Can't connect with Azure Runbook and Managed Identity #4662

Open
Mika5283 opened this issue May 10, 2024 · 2 comments
Open

Can't connect with Azure Runbook and Managed Identity #4662

Mika5283 opened this issue May 10, 2024 · 2 comments

Comments

@Mika5283
Copy link

Mika5283 commented May 10, 2024

Description of the issue

Hello,
When I try to run my Runbook, I always have this error : "The term 'Add-ConfigurationDataEntry' is not recognized.

I use this command : Export-M365DSCConfiguration -ManagedIdentity -Components @("AADUser") -TenantId "mytenant.onmicrosoft.com"

I have these modules installed :

  • Microsoft365DSC 1.24.424.1 (7.2)
  • MSCloudLoginAssistant 1.1.16 (7.2)
  • Microsoft.Graph (2.19.0)

I tried in 7.2 and 5.1 environment and the result is the same ?
I also tried to update the dependencies and removed the old one.

Thanks

Microsoft 365 DSC Version

1.24.424.1

Which workloads are affected

Azure Active Directory (Entra ID)

The DSC configuration

No response

Verbose logs showing the problem

No response

Environment Information + PowerShell Version

No response

@Mika5283
Copy link
Author

Is anyone has an idea please ?

@Mika5283
Copy link
Author

Mika5283 commented May 15, 2024

Seems that the problem was with reversedsc module. I update it and I have a new error yet :

A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. (169.254.169.254:80) (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.))`

My code is only that :

Connect-AzAccount -Identity
Export-M365DSCConfiguration -ManagedIdentity -Components @("ExoAcceptedDomain") -TenantId "XXX.onmicrosoft.com" -Verbose -Debug

Do you have an idea with this problem ?

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

No branches or pull requests

1 participant