Requirements
您必須在Azure AD中為Jamf Pro建立App整合。
如需相關資訊,請參閱教學課程:Microsoft Entra SSO與Jamf Pro整合的說明文件。
- 在Azure AD中,按一下Azure Active Directory。
- 前往您的Jamf Pro SSO企業應用程式。
- 在左側邊欄中按一下 單一登入。
- 在「使用者屬性&宣告」中按一下編輯。
- 按一下新增宣告。
- 新增與註冊自訂所需帳戶名稱和帳戶全名值相符的宣告。參考下列範例:
宣告名稱 值 說明 http://schemas.microsoft.com/identity/claims/displaynameuser.displayname此宣告值傳遞使用者的名字和姓氏,並且可以對應到使用者的macOS本機帳戶全名。
Note:此屬性預設包含在從 Azure AD傳送的SAML代號中。<AttributeStatement> <Attribute Name="http://schemas.microsoft.com/identity/claims/displayname"> <AttributeValue>Samantha Johnson</AttributeValue> </Attribute> </AttributeStatement>usernameuser.givenname和user.surname此自訂屬性值使用 join() 宣告轉型將兩個宣告合併成一個值。此宣告名稱可對應到使用者的macOS本機帳戶名稱。 <AttributeStatement> <Attribute Name="username"> <AttributeValue>samantha.johnson</AttributeValue> </Attribute> </AttributeStatement>NameIDemailAddress本範例中的
NameID格式為電子郵件地址。Jamf Connect將自動使用電子郵件「@」符號之前的所有字元作為macOS本機帳戶名稱。Note:此屬性預設包含在從 Azure AD傳送的SAML代號中,但值會因環境而不同。<Subject> <NameID Format="urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress">samantha.johnson@yourorganization.com</NameID> <SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer"> <SubjectConfirmationData InResponseTo="ac3669a99a4djj832f59919a9gcifi" NotOnOrAfter="2020-12-23T18:06:08.719Z" Recipient="https://trial.jamfcloud.com/saml/SSO" /> </SubjectConfirmation> </Subject> - 按一下儲存。
您的SAML代號現在包含在Jamf Pro中配置註冊自訂的帳戶名稱和帳戶全名 欄位所需的值。
為了確認,請使用SAML解碼器檢查使用者宣告的SAML代號內容。