-
Notifications
You must be signed in to change notification settings - Fork 6
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
Error when converting exported M365DSC tenant config with Convert-M365DSCExportToPowerShellDataFile #19
Comments
Hi @jesthepp, I am currently working on the release of the new version of the whitepaper. The function you are referring to didn't get the attention it should have gotten since we are currently not using that in the whitepaper. But it is on my backlog to improve when that is done. Could you please share a little more info, like the config you have exported? That makes troubleshooting much easier. |
Hello Yorick, Thanks for your feedback. I had opened this issue before I had a chance to beta-test the new whitepaper, so I assumed you were still working on it :-) As I mentioned to you by e-mail, my aim is to export my tenant's current settings and integrate them into the basic configuration of the composite resources I use. To do this, I've exported my tenant's configuration using the following command and different versions of M365DSC (1.24.619.1 and 1.24.612.1). I used the following command:
In this case, it was for AAD, but I've also tested other workloads (Intune, Sharepoint, ...) and I'm having the same problem.
Error (always the same, in a loop):
For my tests, I always used the last version of M365DSCTools within an admin PowerShell session. I also tried enabling and disabling M365DSCTelemetryOption with the same result. I hope I've given you enough information. If not, please come back to me. Many thanks. T. |
To troubleshoot this issue, could you please share the exported config you are using. You can share it via email if it contains sensitive information. |
Hi @msftep, sorry for the late reply.....the vacation period came in between. Are you by any chance running this cmdlet on a Windows 10 or 11 machine? I recently have been working with another customer that experienced the same issue when running on a Windows client OS. On those, PowerShell Remoting is disabled by default and this function is using the LCM which relies on Windows Remoting. To resolve the issue, you have to run |
@ykuijs , The winrm quickconfig worked great for me. |
Hello,
I encounter the same error when attempting to convert any exported workload using Convert-M365DSCExportToPowerShellDataFile:
M365DSC version 1.24.605.1
All dependencies are updated.
Many thanks.
Cheers.,
T.
The text was updated successfully, but these errors were encountered: