Gerenios / AADInternals

AADInternals PowerShell module for administering Azure AD and Office 365
http://aadinternals.com/aadinternals
MIT License
1.24k stars 214 forks source link

Fix xml parsing error #43

Closed CravateRouge closed 1 year ago

CravateRouge commented 1 year ago

Previous code was attempting to parse html to xml but it's more prone to parsing error. The InnerHtml property of a Form object returns input elements without ending slash which isn't supported by the XML parser and the quick workaround of replacing "> by "/> wasn't working because the attribute values weren't surrounded by quotes.