|
| 1 | +--- |
| 2 | +author: billmath |
| 3 | +ms.service: active-directory |
| 4 | +ms.subservice: cloud-provisioning |
| 5 | +ms.topic: include |
| 6 | +ms.date: 10/16/2019 |
| 7 | +ms.author: billmath |
| 8 | +# Used by articles that require an SSO workaround. |
| 9 | +--- |
| 10 | + |
| 11 | +## Steps to enable Single Sign-on |
| 12 | +Cloud provisioning works with Single Sign-on. Currently their is not an option to enable SSO when the agent is installed, however you can use the steps below to enable SSO and use it. |
| 13 | + |
| 14 | +### Step 1: Download and extract Azure AD Connect files |
| 15 | +1. First, download the latest version of [Azure AD Connect](https://www.microsoft.com/download/details.aspx?id=47594) |
| 16 | +2. Open a command prompt using Administrative privileges and navigate to the msi you just downloaded. |
| 17 | +3. Run the following: `msiexec /a C:\filepath\AzureADConnect.msi /qb TARGETDIR=C:\filepath\extractfolder` |
| 18 | +4. Change filepath and extractfolder to match your file path and the name of your extraction folder. The contents should now be in the extraction folder. |
| 19 | + |
| 20 | +### Step 2: Import the Seamless SSO PowerShell module |
| 21 | + |
| 22 | +1. Download, and install [Azure AD PowerShell](https://docs.microsoft.com/powershell/azure/active-directory/overview). |
| 23 | +2. Browse to the `%programfiles%\Microsoft Azure Active Directory Connect` folder. |
| 24 | +3. Import the Seamless SSO PowerShell module by using this command: `Import-Module .\AzureADSSO.psd1`. |
| 25 | + |
| 26 | +### Step 3: Get the list of Active Directory forests on which Seamless SSO has been enabled |
| 27 | + |
| 28 | +1. Run PowerShell as an administrator. In PowerShell, call `New-AzureADSSOAuthenticationContext`. When prompted, enter your tenant's global administrator credentials. |
| 29 | +2. Call `Get-AzureADSSOStatus`. This command provides you with the list of Active Directory forests (look at the "Domains" list) on which this feature has been enabled. |
| 30 | + |
| 31 | +### Step 4: Enable Seamless SSO for each Active Directory forest |
| 32 | + |
| 33 | +1. Call `Enable-AzureADSSOForest`. When prompted, enter the domain administrator credentials for the intended Active Directory forest. |
| 34 | + |
| 35 | + > [!NOTE] |
| 36 | + >The domain administrator credentials username must be entered in the SAM account name format (contoso\johndoe or contoso.com\johndoe). We use the domain portion of the username to locate the Domain Controller of the Domain Administrator using DNS. |
| 37 | +
|
| 38 | + >[!NOTE] |
| 39 | + >The domain administrator account used must not be a member of the Protected Users group. If so, the operation will fail. |
| 40 | +
|
| 41 | +2. Repeat the preceding step for each Active Directory forest where you want to set up the feature. |
| 42 | + |
| 43 | +### Step 5. Enable the feature on your tenant |
| 44 | + |
| 45 | +To turn on the feature on your tenant, call `Enable-AzureADSSO -Enable $true`. |
0 commit comments