powershell rapmlsqa change OTHER to NETMAGIC


 

$msolcred = Get-Credential -UserName admin@netmagic.onmicrosoft.com ` -Message "password for netmagic is FRED!" Connect-MsolService -Credential $msolcred -ErrorAction Stop $setfed = Get-MsolDomainFederationSettings -DomainName rapmlsqa.com $aActiveLogOnUri = $setfed.ActiveLogOnUri $aFederationBrandName = $setfed.FederationBrandName $aIssuerUri = $setfed.IssuerUri $aLogOffUri = $setfed.LogOffUri $aMetadataExchangeUri = $setfed.MetadataExchangeUri $aPassiveLogOnUri = $setfed.PassiveLogOnUri $aSigningCertificate = $setfed.SigningCertificate $setfed $newuriNM = "https://ssoservices.rapmlsqa.com/Issuer.svc/Office365/NETMAGIC/RAPA/8/BARS" $newuriOTHER = "https://ssoservices.rapmlsqa.com/Issuer.svc/Office365/OTHER/RAPA/8/BARS" $newuri = $newuriOTHER Set-MsolDomainFederationSettings -DomainName rapmlsqa.com -FederationBrandName $aFederationBrandName -ActiveLogOnUri $newuri -IssuerUri $aIssuerUri -PassiveLogOnUri $aLogOffUri -LogOffUri $aLogOffUri -SigningCertificate $cert -MetadataExchangeUri $aMetadataExchangeUri Get-MsolDomainFederationSettings -DomainName rapmlsqa.com # ActiveLogOnUri : https://ssoservices.rapmlsqa.com/Issuer.svc/Office365/OTHER/RAPA/8/BARS # FederationBrandName : Rap Corp # IssuerUri : https://ssoportal.rapmlsqa.com/spinitiatedssohandler.aspx/bars # LogOffUri : https://ssoportal.rapmlsqa.com/spinitiatedssohandler.aspx/bars/8 # MetadataExchangeUri : https://ssoservices.rapmlsqa.com/Issuer.svc/mex # NextSigningCertificate : # PassiveLogOnUri : https://ssoportal.rapmlsqa.com/spinitiatedssohandler.aspx/bars/8 # SigningCertificate : MIIBnzCCAQgCCQD0zz8/zqN1MTANBgkqhkiG9w0BAQUFADAUMRIwEAYDVQQDEwlTU09DTElFTlQwHhcNMTMwNzI1MTgxODQ3Wh # cNMTgwNzI0MTgxODQ3WjAUMRIwEAYDVQQDEwlTU09DTElFTlQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMsXYME4wlgR # H9reVb/5euuuDn2DB8eMFzRbnuZbm4Zg7MiegInxSt7hWHEv1gqwnuTl2LW/bvTDbOoauCfIoMEYUW1mE7Ad+GbU0WotBAKuTb # YoW6gTZmk6wpIznmbFU6W7Y09IuR25yitg8G8vVr0ToKEG9Il2eaRg6P/plA4BAgMBAAEwDQYJKoZIhvcNAQEFBQADgYEAbnJi # l/to8w0nBW7XT0Hk5NQ7ccXlE0lBmr9Wd7A0xAjz5kseOSL8UqsarYGOCXVioy8YjmH1es75EvzNaR6lzxBIcKgA4QZmPYzZME # qFwqCM1Ngh9IUYE6xR+/1VgUf/Q30jmv2NWt9scFQFc7ylLOjQ3bBaihD+YrSh5pjrVpI=

Advertisements

About home_pw@msn.com

Computer Programmer who often does network administration with focus on security servers. Very strong in Microsoft Azure cloud!
This entry was posted in AAD, Azure AD. Bookmark the permalink.