In Step 2 under "Configuring a domain in your Azure AD Directory for federation", a template is provided for setting up a SAML IdP. The variables established are $dom, $BrandName, $LogOnUrl, $LogOffUrl, $ecpUrl, $MyURI, $MySigningCert, and $Protocol.
The variables called in Set-MsolDomainAuthentication are $dom (twice), $MyURI, $ecpUrl, $MySigningCert, $uri, $url, and $Protocol.
$BrandName isn't used when it should be ($dom is used instead), $uri and $url are called but never declared.
The second part SHOULD look like this:
Set-MsolDomainAuthentication -DomainName $dom -FederationBrandName $BrandName -Authentication Federated -PassiveLogOnUri $LogOnUrl -ActiveLogOnUri $ecpUrl -SigningCertificate $MySigningCert -IssuerUri $MyURI -LogOffUri $LogOffUrl -PreferredAuthenticationProtocol $Protocol
The variable naming could also be changed up a bit to be a little more clear as to what should go in each, but that's more minor.
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@tylerpieper
Thanks for your feedback! We will investigate and update as appropriate.
Thanks for the feedback. I'm assigning this to the content author to look into.
@tylerpieper You are correct. Good catch!
I have gone ahead and updated the doc and you should see the changes after 6:30 EST. Thanks!