Share via

MicrosoftDSC module stuck at Extracting settings..

Garima Das 1,061 Reputation points
2021-05-29T19:17:35.257+00:00

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.

Microsoft 365 and Office | SharePoint | For business | Windows
Windows for business | Windows Server | User experience | PowerShell

Answer accepted by question author

Garima Das 1,061 Reputation points
2021-05-31T07:32:26.453+00:00

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.

Was this answer helpful?


1 additional answer

Sort by: Most helpful
  1. CaseyYang-MSFT 10,466 Reputation points
    2021-05-31T07:10:05.487+00:00

    Hi @Garima Das

    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.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.