---
title: Verify federated domain
description: Confirm ownership of the federated domain.
component: office365
page_id: office365:office_365_provisioner:pf_office365_connector_verify_federated_domain
canonical_url: https://docs.pingidentity.com/integrations/office365/office_365_provisioner/pf_office365_connector_verify_federated_domain.html
revdate: July 3, 2024
---

# Verify federated domain

Confirm ownership of the federated domain.

For more information on the verification command, see the online documentation [Confirm-MsolDomain](https://msdn.microsoft.com/en-us/library/azure/dn194117.aspx).

Execute the Powershell commands below in the command prompt window used in [Add federated domain](pf_office365_connector_add_federated_domain.html).

```
PS> $domainName = "<federated_domain_name>"
  PS> $hostName = "<sub-domain>.$domainName"
  PS> $port = 9031
  PS> ${pingfed} = "https://$\{hostName}:$port
  PS> $brandName = "<federated_domain_alias>"
  PS> $issuer = "<PingFederate_SAML_2_entity_id>"
  PS> $spId = "urn:federation:MicrosoftOnline"
  PS> $activeLogOn = "$pingfederate/idp/sts.wst"
  PS> $logOff = "$pingfederate/idp/startSLO.ping"
  PS> $metaData = "$pingfederate/pf/sts_mex.ping?PartnerSpId=$spId"
  PS> $passiveLogOnPF="$pingfederate/idp/SSO.saml2"
  PS> Confirm-MsolDomain -DomainName "$domainName"
     -FederationBrandName  "$brandName" -IssuerUri "$issuer"
     -LogOffUri $logOff  -PassiveLogOnUri  "$passiveLogOnPF"
```
