Forum Discussion
AA Direct routing - 404 Not Found
We have the same issue. A few weeks ago, we created with SkypeOnlineConnector (PowerShell-Module)
a new CsOnlineApplicationInstance with the following commands:
New-CsOnlineApplicationInstance -UserPrincipalName aara@contoso.com -ApplicationId “11cd3e2e-fccb-42ad-ad00-878b93575e07" -DisplayName "Auto Attendant Resource Account"
Set-CsOnlineApplicationInstance -Identity aara@contoso.com -OnpremPhoneNumber +49xxxxxxxxxx
and it works like a charme.
Yesterday we removed that already working Resource Account and tried to create a new one, but in the meantime it's not possible on this way anymore...we got this error-Message:
WARNING: Attention: On-premises domain must use on-premises cmdlet. Please copy and paste the below commands and run them with appropriate admin privileges in your on-premises Skype for Business environment.
WARNING: New-CsHybridApplicationEndpoint -ApplicationId 11cd3e2e-fccb-42ad-ad00-878b93575e07 -DisplayName "Auto Attendant Resource Account" -SipAddress aara@contoso.com -OU [A_VALID_OU]
This cmdlet is for online domain only. Please run corresponding on-premises cmdlets for on-premises domain.
+ CategoryInfo : InvalidOperation: (:) [New-CsOnlineApplicationInstance], InvalidOperationException
+ FullyQualifiedErrorId : Microsoft.Rtc.Management.Hosted.PlatformService.ApplicationInstance.NewCsOnlineApplicationInstanceCmdlet
+ PSComputerName : admin0e.online.lync.com
So we created it on our On-premise Skype for Business Server like recommended and it works, too.
BUT!
We changed to Microsoft Teams with direct Routing, because we want to switch off the Skype for Business server!
So, we thought it will be a good idea for the future (without any Skype for Business Server) to create all Objects we will need Online at Office 365 only.
So, we tried again Online with SkypeOnlineConnector the following commands:
New-CsOnlineApplicationInstance -UserPrincipalName aara@contoso.onmicrosoft.com -ApplicationId “11cd3e2e-fccb-42ad-ad00-878b93575e07" -DisplayName "Auto Attendant Resource Account"
Set-CsOnlineApplicationInstance -Identity aara@contoso.onmicrosoft.com -OnpremPhoneNumber +49xxxxxxxxxx
but this time with a not synchronized domain: @contose.onmicrosoft.com
Unfortunately, we get the 404 Error on the SBC like you described before 😞
Regards,
Klaus