This is a walk through in order to create a Auto Attendant with a Direct Routing Number.
Use connect-microsoft to connect with PowerShell [ Ссылка ]
You can use the following cmdlet to connect a phonenumber:
Set-CsPhoneNumberAssignment -Identity Resource account@domain.com -PhoneNumber +31xxxxxxx -PhoneNumberType "DirectRouting"
![](https://i.ytimg.com/vi/oPwtyz9Dabo/maxresdefault.jpg)