Skype For Business Admin

Highlighted
Occasional Contributor

Has anyone had a problem logging into skype for business for Powershell using a domain other than the @domain.onmicrosoft.com?  Every single time I attempt to login it will give an error.  I have had success when it was a client that still had the generic microsoft domain, but once it is changed to their own it will not work.  

2 Replies
Highlighted

Works just fine here, and has been working fine for years with custom domain. Any particular error you are getting? Perhaps you have MFA enabled and using older/non-ADAL version of the SfBO module?

Highlighted

Late to the party, but have you tried adding OverrideAdminDomain with your preferred credentials?  You should be able to use your user@domain.com account, but tell it to attempt against the domain.onmicrosoft.com tenant. 

 

$session = New-CsOnlineSession -Credential $credential -OverrideAdminDomain "litwareinc.onmicrosoft.com"