Workplace Join/Device Registration to Azure AD for Local Domain joined Windows 7 and 2012
The following guide provides step by step procedure how to implement Workplace Join/Device Registration to Azure AD for Conditional Access.
<Prerequisite>
Accounts between On-premise and Azure AD must be synchronized via AAD connect
<System Configuration check>
From DNS server,

From ADFS server,
1. O365 federation
1. O365 federation
2. Enable device registration
Initialize-ADDeviceRegistration
Enable-AdfsDeviceRegistration
Set-AdfsDeviceRegistration -ServiceAccountIdentifier mfalab3\taehee
Get-AdfsDeviceRegistration
Initialize-ADDeviceRegistration
Enable-AdfsDeviceRegistration
Set-AdfsDeviceRegistration -ServiceAccountIdentifier mfalab3\taehee
Get-AdfsDeviceRegistration
setspn -Q host/fs.mfalab3.com

3. Add claimrules

c:[Type == "http://schemas.microsoft.com/claims/authnmethodsreferences"]
=> issue(claim = c);
Open Powershell and run
Set-AdfsRelyingPartyTrust -TargetName "Microsoft Office 365 Identity Platform" -AllowedAuthenticationClassReferences wiaormultiauthn
Set-AdfsRelyingPartyTrust -TargetName "Microsoft Office 365 Identity Platform" -AllowedAuthenticationClassReferences wiaormultiauthn
From Domain joined Win7,
1. Try login to "https://portal.office.com", enter current login domain user account - "must login in without redirecting ADFS login page!!"
1. Try login to "https://portal.office.com", enter current login domain user account - "must login in without redirecting ADFS login page!!"
2. Download and Install "Workplace Join agent"
x64
x86
x64
x86
And run "C:\Program Files\Microsoft Workplace Join>AutoWorkplace.exe /join"
To leave, "C:\Program Files\Microsoft Workplace Join>AutoWorkplace.exe /leave"
<Result>
From Win7 and 2012

From Azure Portal

Comments
Post a Comment