Closed Aniket-MFA2022 closed 2 years ago
Hi, @Aniket-MFA2022
get-help Import-MFASystemConfiguration -detailed get-help Export-MFASystemConfiguration -detailed
Export-MFASystemConfiguration -ExportFilePath 'c\temp\config.xml' Import-MFASystemConfiguration -ImportFilePath 'c\temp\config.xml'
Regards
Hi Redhook,
Thanks for your update. First two command worked properly. Please see below error while running the export command.
PS C:\Windows\system32> Export-MFASystemConfiguration -ExportFilePath 'c\temp\config.xml' Export-MFASystemConfiguration : Object reference not set to an instance of an object. At line:1 char:1
+ CategoryInfo : NotSpecified: (:) [Export-MFASystemConfiguration], NullReferenceException
+ FullyQualifiedErrorId : System.NullReferenceException,MFA.ExportMFASystemConfiguration
Hi, @Aniket-MFA2022
Yes, the bu is confirmed. While waiting for the next release at the end of June, you can use this command to extract your configuration
export-AdfsAuthenticationProviderConfigurationData -Name "MultifactorAuthenticationProvider" -FilePath c:\temp\mfa\3.1.xml
For the import procedure there is no problem
regards
Hi @Aniket-MFA2022
Done in version 3.1.2206.0
regards
Hi Redhook,
Thanks for your lovely product, I have been using since January. I wanted to get a back of my current configuration but facing some issues in it as the command is not working. Please see the screenshot attached and the commands used to get the backup. Please have a look and let me know what could be the reason.
get-help Export-MFAConfiguration –detailed get-help Import-MFAConfiguration –detailed Export-MFAConfiguration -ExportFilePath 'c\temp\config.xml' Import-MFAConfiguration -ImportFilePath 'c\temp\config.xml'