Why I am not able to export tenant configuration via M365DSC PowerShell cmdlets?
I have run all required cmdlets but still its not exporting completely and showing partially exported.
Import-module Microsoft365DSC
Export-M365DSCConfiguration
I am getting below message on PowerShell
PS C:\Users\username> Export-M365DSCConfiguration
cmdlet Get-Credential at command pipeline position 1
Supply values for the following parameters:
Exporting Microsoft 365 configuration for Mode: Default
Authentication methods specified:
The term 'Save-Credentials' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was includ
ed, verify that the path is correct and try again.
Partial Export file was saved at: C:\Users\username\AppData\Local\Temp\xxxxxxx-xxxx-xxx67-cxxxxb7-xxxxxxxab3.partial.ps1