Import-ModuleFromPSGalleryToAutomation.ps1 fails for some modules where the page title does not match the module name, such as AzureAD (where the title is 'Azure Active Directory V2 PowerShell Module - General Availability Release'). Normally the module name is the same as the title, but in some cases it's not. I'll send a PR here in a little bit, but wanted to open the issue just in case I forget.
Import-ModuleFromPSGalleryToAutomation.ps1
fails for some modules where the page title does not match the module name, such as AzureAD (where the title is 'Azure Active Directory V2 PowerShell Module - General Availability Release'). Normally the module name is the same as the title, but in some cases it's not. I'll send a PR here in a little bit, but wanted to open the issue just in case I forget.