21 KiB
title, description, ms.assetid, keywords, ms.prod, ms.mktglfcycl, ms.sitesec, ms.pagetype, author, localizationpriority
title | description | ms.assetid | keywords | ms.prod | ms.mktglfcycl | ms.sitesec | ms.pagetype | author | localizationpriority |
---|---|---|---|---|---|---|---|---|---|
Create a device account using UI (Surface Hub) | If you prefer to use a graphical user interface, you can create a device account for your Microsoft Surface Hub with either the Office 365 UI or the Exchange Admin Center. | D11BCDC4-DABA-4B9A-9ECB-58E02CC8218C | create device account, Office 365 UI, Exchange Admin center, Office 365 admin center, Skype for Business, mobile device mailbox policy | w10 | manage | library | surfacehub | TrudyHa | medium |
Create a device account using UI (Surface Hub)
If you prefer to use a graphical user interface, you can create a device account for your Microsoft Surface Hub with either the Office 365 UI or the Exchange Admin Center.
Create a device account using Office 365
- Create the account in the Office 365 Admin Center.
- Create a mobile device mailbox (ActiveSync) policy from the Microsoft Exchange Admin Center.
- Use PowerShell to complete device account creation.
- Use PowerShell to configure Exchange properties of the account.
- Enable the account with Skype for Business.
Create the account in the Office 365 Admin Center
-
Sign in to Office 365 by visiting http://portal.office.com
-
Provide the admin credentials for your Office 365 tenant. This will take you to your Office 365 Admin Center.
-
Once you are at the Office 365 Admin Center, navigate to Users in the left panel, and then click Active Users.
-
On the controls above the list of users, click + to create a new user. You'll need to enter a Display name, User name, Password and an email address for the recipient of the password. Optionally you can change the password manually, but we recommend that you use the auto-generated option. You also need to assign this account a license that gives the account access to Exchange and Skype for Business services.
Click Create.
-
Once the account has been successfully created, click Close on the resulting dialog box, and you will see the admin center Active Users list again.
-
Select the user you just created from the Active Users list. You need to disable the Skype for Business license, because you can’t create a Skype Meeting Room with this option.
In the right panel you can see the account properties and several optional actions. The process so far has created a regular Skype account for this user, which you need to disable. Click Edit for the Assigned license section, then click the dropdown arrow next to the license to expand the details.
From the list, select Skype for Business Online (Plan 2), and then click SAVE. The license may vary depending on your organization (for example, you might have Plan 2, or Plan 3).
Create a mobile device mailbox (ActiveSync) policy from the Exchange Admin Center
-
In the Office 365 Admin Center’s left panel, click ADMIN, and then click Exchange.
-
This will open another tab on your browser to take you to the Exchange Admin Center, where you can create and set the Mailbox Setting for Surface Hub.
-
To create a Mobile Device Mailbox Policy, click Mobile from the left panel and then click Mobile device mailbox policies. Surface Hubs require an account with a mobile device mailbox policy that does not require a password, so if you already have an existing policy that matches this requirement, you can apply that policy to the account. Otherwise use the following steps to create a new one to be used only for Surface Hub device accounts.
-
To create a New Surface Hub mobile device mailbox policy, click the + button from the controls above the list of policies to add a new policy. For the name, provide a name that will help you distinguish this policy from other device accounts (for example, SurfaceHubDeviceMobilePolicy). Make sure the policy does not require a password for the devices assigned to, so make sure Require a Password remains unchecked, then click Save.
-
After you have created the new mobile device mailbox policy, go back to the Exchange Admin Center and you will see the new policy listed.
-
Now, to apply the ActiveSync policy without using PowerShell, you can do the following: In the EAC, click Recipients > Mailboxes and then select a mailbox.
-
In the Details pane, scroll to Phone and Voice Features and click View details to display the Mobile Device Details screen.
-
The mobile device mailbox policy that’s currently assigned is displayed. To change the mobile device mailbox policy, click Browse.
-
Choose the appropriate mobile device mailbox policy from the list, click OK and then click Save.
Use PowerShell to complete device account creation
From here on, you'll need to finish the account creation process using PowerShell to set up some configuration.
In order to run cmdlets used by these PowerShell scripts, the following must be installed for the admin PowerShell console:
- Microsoft Online Services Sign-In Assistant for IT Professionals BETA
- Windows Azure Active Directory Module for Windows PowerShell
- Skype for Business Online, Windows PowerShell Module
Connecting to online services
-
Run Windows PowerShell as Administrator.
-
Create a Credentials object, then create a new session that connects to Skype for Business Online, and provide the global tenant administrator account, then click OK.
-
To connect to Microsoft Online Services, run:
Connect-MsolService -Credential $Cred
-
Now to connect to Skype for Business Online Services, run:
$sfbsession = New-CsOnlineSession -Credential $cred
-
Finally, to connect to Exchange Online Services, run:
$exchangeSession = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri "https://outlook.office365.com/powershell-liveid/" -Credential $cred -Authentication "Basic" –AllowRedirection
-
Now you have to import the Skype for Business Online Session and the Exchange Online session you have just created, which will import the Exchange and Skype Commands so you can use them locally.
Import-PSSession $exchangesession -AllowClobber -WarningAction SilentlyContinue Import-PSSession $sfbsession -AllowClobber -WarningAction SilentlyContinue
Note that this could take a while to complete.
-
Once you’re connected to the online services you need to run a few more cmdlets to configure this account as a Surface Hub device account.
Use PowerShell to configure Exchange properties of the account
Now that you're connected to the online services, you can finish setting up the device account. You'll use the device account email address to:
- Change the mailbox type from regular to room.
- Set the password and enable the room mailbox account
- Change various Exchange properties
- Set the user account password to never expire.
-
You’ll need to enter the account’s mail address and create a variable with that value:
$mailbox = (Get-Mailbox <your device account’s alias>)
To store the value get it from the mailbox:
$strEmail = $mailbox.WindowsEmailAddress
Print the value:
$strEmail
You will see the correct email address.
-
You need to convert the account into to a room mailbox, so run:
Set-Mailbox $strEmail -Type Room
-
In order for the device account to be authenticated on a Surface Hub, you need to enable the room mailbox account and set a password, so the account can be used by the device to get meeting information using ActiveSync and log in to Skype for Business.
Set-Mailbox $strEmail -RoomMailboxPassword (ConvertTo-SecureString -String "<your password>" -AsPlainText -Force) -EnableRoomMailboxAccount $true
-
Various Exchange properties can be set on the device account to improve the meeting experience. You can see which properties need to be set in the Exchange properties section.
Set-CalendarProcessing -Identity $acctUpn -AutomateProcessing AutoAccept -AddOrganizerToSubject $false –AllowConflicts $false –DeleteComments $false -DeleteSubject $false -RemovePrivateProperty $false Set-CalendarProcessing -Identity $acctUpn -AddAdditionalResponse $true -AdditionalResponse "This is a Surface Hub room!"
-
If you decide to have the password not expire, you can set that with PowerShell cmdlets too. See Password management for more information.
Set-MsolUser -UserPrincipalName $strEmail -PasswordNeverExpires $True
Enable the account with Skype for Business
Enable the device account with Skype for Business.
In order to enable Skype for Business, your environment will need to meet the following prerequisites:
- You'll need to have Lync Online (Plan 2) or higher in your O365 plan. The plan needs to support conferencing capability.
- If you need Enterprise Voice (PSTN telephony) using telephony service providers for the Surface Hub, you need Lync Online (Plan 3).
- Your tenant users must have Exchange mailboxes.
- Your Surface Hub account does require a Lync Online (Plan 2) or Lync Online (Plan 3) license, but it does not require an Exchange Online license.
-
Start by creating a remote PowerShell session from a PC.
Import-Module LyncOnlineConnector $cssess=New-CsOnlineSession -Credential $cred Import-PSSession $cssess -AllowClobber
-
To enable your Surface Hub account for Skype for Business Server, run this cmdlet:
Enable-CsMeetingRoom -Identity $rm -RegistrarPool "sippoolbl20a04.infra.lync.com" -SipAddressType EmailAddress
If you aren't sure what value to use for the
RegistrarPool
parameter in your environment, you can get the value from an existing Skype for Business user using this cmdlet:Get-CsOnlineUser -Identity ‘alice@contoso.microsoft.com’| fl *registrarpool*
Create a device account using the Exchange Admin Center
You can use the Exchange Admin Center to create a device account:
- Create an account and mailbox with the Exchange Admin Center.
- Create a mobile device mailbox policy from the Exchange Admin Center.
- Use PowerShell to configure the account.
- Enable the account with Skype for Business.
Create an account and mailbox with the Exchange Admin Center
-
Sign in to your Exchange Admin Center using Exchange admin credentials.
-
Once you are at the Exchange Admin Center (EAC), navigate to Recipients in the left panel.
-
On the controls above the list of mailboxess, choose + to create a new one, and provide a Display name, Name, and User logon name, and then click Save.
Create a mobile device mailbox policy from the Exchange Admin Center
Note
If you want to create and assign a policy to the account you created, and are using Exchange 2010, look up the corresponding information regarding policy creation and policy assignment when using the EMC (Exchange management console).
-
Go to the Exchange Admin Center.
-
To create a mobile device mailbox policy, click Mobile from the left panel, then Mobile device mailbox policies. Surface Hubs require an account with a mobile device mailbox policy that does not require a password, so if you already have an existing policy that matches this requirement, you can apply that policy to the account. Otherwise use the following steps to create a new one to be used only for Surface Hub device accounts.
-
To create a new mobile device account mailbox policy, click the + button from the controls above the list of policies to add a new policy. For the name provide a name that will help you distinguish this policy from other device accounts (for example, SurfaceHubDeviceMobilePolicy). The policy must not be password-protected, so make sure Require a Password remains unchecked, then click Save.
-
After you have created the new mobile device mailbox policy, go back to the Exchange Admin Center and you will see the new policy listed.
-
To apply the ActiveSync policy without using PowerShell, you can do the following:
-
In the EAC, click Recipients > Mailboxes and select a mailbox.
-
In the Details pane, scroll to Phone and Voice Features and click View details to display the Mobile Device Details screen.
-
The mobile device mailbox policy that’s currently assigned is displayed. To change the mobile device mailbox policy, click Browse.
-
Choose the appropriate mobile device mailbox policy from the list, click OK and then click Save.
-
Use PowerShell to configure the account
Now that you're connected to the online services, you can finish setting up the device account. You'll use the device account email address to:
- Change the mailbox type from regular to room.
- Change various Exchange properties
- Set the user account password to never expire.
-
You’ll need to enter the account’s mail address and create a variable with that value:
$mailbox = (Get-Mailbox <your device account’s alias>)
To store the value got it from the mailbox:
$strEmail = $mailbox.WindowsEmailAddress
Print the value by running:
$strEmail
You will see the correct email address.
-
You need to convert the account into to a room mailbox, so run:
Set-Mailbox $strEmail -Type Room
-
In order for the device account to be authenticated on a Surface Hub, you need to enable the room mailbox account and set a password, so the account can be used by the device to get meeting information using ActiveSync and log in to Skype for Business.
Set-Mailbox $strEmail -RoomMailboxPassword (ConvertTo-SecureString -String "<your password>" -AsPlainText -Force) -EnableRoomMailboxAccount $true
-
Various Exchange properties can be set on the device account to improve the meeting experience. You can see which properties need to be set in the Exchange properties section.
Set-CalendarProcessing -Identity $acctUpn -AutomateProcessing AutoAccept -AddOrganizerToSubject $false –AllowConflicts $false –DeleteComments $false -DeleteSubject $false -RemovePrivateProperty $false Set-CalendarProcessing -Identity $acctUpn -AddAdditionalResponse $true -AdditionalResponse "This is a Surface Hub room!"
-
Now we have to set some properties in AD. To do that, you need the alias of the account (this is the part of the UPN that becomes before the “@”).
$strAlias = “<your device account’s alias>”
-
The user needs to be enabled in AD before it can authenticate with a Surface Hub. Run:
Set-ADUser $strAlias -Enabled $True
-
If you decide to have the password not expire, you can set that with PowerShell cmdlets too. See Password management for more information.
Set-ADUser $strAlias -PasswordNeverExpires $True
Enable the account with Skype for Business
Enable the device account with Skype for Business.
In order to enable Skype for Business, your environment will need to meet the following prerequisites:
- You'll need to have Lync Online (Plan 2) or higher in your O365 plan. The plan needs to support conferencing capability.
- If you need Enterprise Voice (PSTN telephony) using telephony service providers for the Surface Hub, you need Lync Online (Plan 3).
- Your tenant users must have Exchange mailboxes.
- Your Surface Hub account does require a Lync Online (Plan 2) or Lync Online (Plan 3) license, but it does not require an Exchange Online license.
-
Start by creating a remote PowerShell session from a PC.
Import-Module LyncOnlineConnector $cssess=New-CsOnlineSession -Credential $cred Import-PSSession $cssess -AllowClobber
-
To enable your Surface Hub account for Skype for Business Server, run this cmdlet:
Enable-CsMeetingRoom -Identity $rm -RegistrarPool "sippoolbl20a04.infra.lync.com" -SipAddressType EmailAddress
If you aren't sure what value to use for the
RegistrarPool
parameter in your environment, you can get the value from an existing Skype for Business user using this cmdlet:Get-CsOnlineUser -Identity ‘alice@contoso.microsoft.com’| fl *registrarpool*