If you try to parse Azure AD’s federation metadata xml in PowerShell using a script like the one below you most probably end up with the error “The specified node cannot be inserted as the valid child of this node, because the specified node is the wrong type.”
Parsing the Azure AD federationmetadata.xml…
If you try to parse Azure AD’s federation metadata xml in PowerShell using a script like the one below you most probably end up with the error “The specified node cannot be inserted as the valid child of this node, because the specified node is the wrong type.”