question

GarimaDas-7413 avatar image
0 Votes"
GarimaDas-7413 asked CaseyYangMSFT-4714 commented

MicrosoftDSC module stuck at Extracting settings..

Hi Experts,

I am trying to implement the Microsoft365DSC to extract Sharepoint settings. I have set up an Office E3 trial account and have provided some users with tenant admin rights. I have also installed and imported the Microsoft 365 DSC module.
When I run the Export-M365DSCConfiguration command, the UI prompts in which if I select the AD settings, and upon providing credentials, the UI works as expected but when I try to select the SharePoint Online settings and export it, the module gets stuck on "Extracting [Setting Name]" as shown in the image given below:

100761-extracting-stuck-pic.png

This does not give any error also.

Can anyone give any idea as to why this is happening?

Thanks.

office-sharepoint-onlinewindows-server-powershell
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you for your question.

We are currently looking into this issue and will give you an update as soon as possible.

Thank you for your understanding and support.

0 Votes 0 ·
GarimaDas-7413 avatar image
0 Votes"
GarimaDas-7413 answered CaseyYangMSFT-4714 commented

Through the UI, the export was not working. So, I used the "Export-M365DSCConfiguration –Quiet" command along with the component values to extract and made some changes in the way the credentials were being passed.

It worked fine for me then.

Thanks for the suggestion.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Congratulations on solving this issue and thanks for sharing your solution.

0 Votes 0 ·
CaseyYangMSFT-4714 avatar image
0 Votes"
CaseyYangMSFT-4714 answered

Hi @GarimaDas-7413

Per my test, there was a warning: “We are aware of issues trying to export Exchange Online, Security Compliance, SharePoint Online and OneDrive for Business components using the Graphical User Interface (freezes the export). We are actively working on a solution. As a workaround, use the unattended commands using the –Quiet switch to perform the export.”

101015-1.png

You could try to use “Export-M365DSCConfiguration –Quiet” as a workaround.


If an Answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



1.png (27.9 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.