In your DualShield console, select "SSO | SSO Servers".
Click the context menu of the SSO server, then select "Download IdP Metadata"

Save the IdP Metadata to a file, eg. "dualdshield-idp-metadata.xml"
Connect to Office 365 Powershell as shown below:
Run the following command in Office 365 PowerShell
.\setup-o365-sso.ps1 -protocol SAMLP -domain 'domain name' -appname 'application name' -spname 'service provider name' -metadata '.\metadata file' |
Example:

To verify that the change was successful, run the following command:
get-MsolDomainFederationSettings -domain 'domain name' |