• No results found

webnetwork Office 365 SSO integration v

N/A
N/A
Protected

Academic year: 2021

Share "webnetwork Office 365 SSO integration v"

Copied!
50
0
0

Loading.... (view fulltext now)

Full text

(1)

Guide will cover:

• How to configure webNetwork SAML application

• How to prepare Office 365 for Single Sign-On

• How to configure Office 365 Single Sign-On

• How to turn off Single Sign-On

• How to create links to Office 365

How to configure webNetwork SAML application

Purpose:

• Create the Public application in webNetwork that will connect to Office 365 via SAML • Create the certificate to be shared with Office 365

Steps:

1. Right-click on Applications Admin and click Create Public Application 2. Enter Office365 and click Next

3. Verify created successfully and click Close

4. Click Authentication tab and choose Office 365 for type 5. Enter variable for Identity

6. Enter URL for Assertion Consumer

7. Click Wizard for PFX Certificate and choose RSA 2048 then click Generate button 8. Click Overwrite button

9. Click Wizard button for Certificate 10. Input values then click Generate button 11. Verify certificate was generated

12. Select all text and copy to Notepad, then save file as office365-cert.txt 13. Click Overwrite button

14. Click Assertion for SAML Signature Location 15. Add input Audience

16. Click Save button

17. Click Properties tab and add Context Path (Alias) 18. Add all webRelay objects to Assigned Relays

19. Click the Provisioning /Attributes tab and enable Provision

20. Add the remote attribute IDPEmail and local attribute then click OK 21. Add the remote attribute ImmutableID and local attribute then click OK

22. Add the remote attribute UserPrincipalName and local attribute then click OK

webNetwork Office 365 SSO

integration v10-30-2015

(2)

23. Click Save button

*** The Provisioning tab changes to Attributes in webNetwork 6.3.1 and higher.

*** This document has been modified to include the commands to allow Outlook and other "fat" clients to authenticate against webNetwork when Office 365 is federeated.

1. Right-click on Applications Admin and click Create Public Application

(3)

2. Enter Office365 and click Next

(4)

3. Verify created successfully and click Close

(5)

4. Click Authentication tab and choose Office 365 for type

(6)

5. Enter variable for Identity

• @@encodeUUID(attr:sware.guid)@@ requires webNetwork 6.2.1.191 or newer

(7)

6. Enter URL for Assertion Consumer

https://login.microsoftonline.com/login.srf

(8)

7. Click Wizard for PFX Certificate and choose RSA 2048 then click Generate

button

(9)

8. Click Overwrite button

(10)

9. Click Wizard button for Certificate

(11)

10. Input values then click Generate button

IMPORTANT- Make sure to pick SHA-1

• Input your company values and NOT the ones provided below

(12)

11. Verify certificate was generated

(13)

12. Select all text and copy to Notepad, then save file as office365-cert.txt

(14)

13. Click Overwrite button

(15)

14. Click Assertion for SAML Signature Location

(16)

15. Add Audience

• urn:federation:MicrosoftOnline

(17)

16. Change Close Window for the SAML Logout Behavior

(18)

17. Click Save button

(19)

18. Click Properties tab and add Context Path (Alias)

• /Office365

(20)

19. Add all webRelay objects to Assigned Relays

• Below example only shows 1 webRelay, but if you have more webRelays you should add them now

(21)

20. Click the Provisioning tab and enable Provision

(22)

21. Add the remote attribute IDPEmail and local attribute then click OK

• @@attr:mail@@

• Attribute should be users Office 365 email address

(23)

22. Add the remote attribute ImmutableID and local attribute then click OK

• @@encodeUUID(attr:sware.guid)@@

• Attribute must be base64 encoded GUID and match ImmutableID in Office 365

(24)

23. Add the remote attribute UserPrincipalName and local attribute then click OK

• Use @@attr:mail@@ or @@attr:userPrincipalName@@

• Attribute must match Office 365 UserPrincipalName

(25)

24. Click Save button

How to prepare Office 365 for Single Sign-On

Purpose:

• Download tools necessary to connect to Azure cloud and turn on SSO

• Make sure you have two admin accounts in each domain, so you will not get locked out if SSO configuration fails for Office 365

Steps:

1. Download utilities

2. Create Office 365 domain

3. Create back-up administrator account

(26)

4. Login with back-up administrator account

1. Download utilities

• Download and installMicrosoft Services Sign-In Assistant

• Download and installAzure AD

• Any workstation

2. Create Office 365 domain

IMPORTANT- must be different from @MYDOMAIN.onmicrosoft.com domain to turn on Single Sign-On

3. Create back-up administrator account

In the event that you federate your domain unsuccessfully and are disconnected from

Powershell session, you'll need an admin in the @MYDOMAIN.onmicrosoft.com domain to turn off federation.

Office 365 - Create a User Office 365 - Assign Admin Role

(27)

4. Login with back-up administrator account

Verify you can login with back-up administrator account on the @MYDOMAIN.onmicrosoft.com domain

How to configure Office 365 Single Sign-On

Purpose:

• Need to turn on federation using powershell Steps:

1. Run Windows Azure Active Directory Module for Windows PowerShell 2. Run Connect-MsolService and login with admin creds

3. Run command to verify ImmutableId is populated 4. Open Notepad and paste in the following script 5. Save file as turn-on.ps1

6. Run command .\turn-on.ps1

(28)

7. Test login

8. Login with AD creds

9. Verify login was successful 10. Turn off SSO

1. Run Windows Azure Active Directory Module for Windows PowerShell

(29)

2. Run Connect-MsolService and login with admin creds

• Connect-MsolService

(30)

3. Run command to verify ImmutableId is populated

• Get-MsolUser [email protected] | format-table -property ImmutableID

• Value will be base64 encoded and should be the same value as @@attr:objectGUID@@ IMPORTANT- if users do not have ImmutableID defined, they will not be able to login with

SSO method

• If ImmutableId value is empty for user, then run command SetMsolUser [email protected] -ImmutableIDUSERVALUE

4. Open Notepad and paste in the following script (edit the parts in RED)

$dom = "YOURDOMAIN.com”

$BrandName = "Stoneware"

$url = "https://YOUR-WEBNETWORK-URL/swPublicSSO/SAML/Office365"

$logouturl = " https://YOUR-WEBNETWORK-URL/swPublicSSO/SAML/Logout/Office365" $uri = "https://YOUR-WEBNETWORK-URL/swPublicSSO/SAML/Office365"

$cert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2("C:\Users\ Administrator\Desktop\O365\office365-cert.txt")

(31)

$certData = [system.convert]::tobase64string($cert.rawdata)

$MetadataExchangeUri = "https://YOUR-WEBNETWORK-URL/SWPublicSSO/SAMLMetadata/ Office365"

$Protocol = "SAMLP"

$activeUrl = "https://YOUR-WEBNETWORK-URL/swPublicSSO/SAML/ECP/Office365"

SetMsolDomainAuthentication DomainName $dom FederationBrandName $BrandName -Authentication Federated -PassiveLogOnUri $url -SigningCertificate $certData -IssuerUri $uri LogOffUri $logouturl MetadataExchangeUri $MetadataExchangeUri

-PreferredAuthenticationProtocol $Protocol -ActiveLogOnUri $activeUrl

(32)

5. Save file as turn-on.ps1

(33)

6. Run command .\turn-on.ps1

• If you receive an error about running scripts, you may have to allow scripts to run with powershell

http://technet.microsoft.com/en-us/library/cc764242.aspx

(34)

7. Test login

https://login.microsoftonline.com/

• After typing in username and hitting tab, it should redirect to your webNetwork login page

(35)

8. Login with AD creds

(36)

9. Verify login was successful

(37)

How to turn off Single Sign-On

• Set-MsolDomainAuthentication -Authentication Managed -DomainName

YOURDOMAIN.com

How to create links to Office 365

Purpose:

• If user is already in webNetwork, you want a simple link to Office 365 application Steps:

1. Go to webAdmin tool

2. Expand Link Menu Admin folder 3. Expand desired location

4. Right-click and select Create Link

5. Type in Office365-link then click Next button

6. Verify the link was created successfully then click Close button 7. Enter description

8. Enter URL

9. Click the green + for Assigned To

10. Assign users/groups/OUs then click OK button 11. Click Save button

(38)

12. Logout 13. Login

14. Click Office 365 tile

1. Go to webAdmin tool

(39)

2. Expand Link Menu Admin folder

(40)

3. Expand desired location

(41)

4. Right-click and select Create Link

(42)

5. Type in Office365-link then click Next button

(43)

6. Verify the link was created successfully then click Close button

(44)

7. Enter description

(45)

8. Enter URL

• Office 365 Portal

https://login.microsoftonline.com/PostToIDP.srf?msg=AuthnReq&realm=YOURDOMAIN.com

&wa=wsignin1.0&wtrealm=urn:federation:MicrosoftOnline • Outlook

https://outlook.office365.com/owa/?realm=YOURDOMAIN.com&exsvurl=1&ll-cc=1033&modurl=0

(46)

9. Click the green + for Assigned To

(47)

10. Assign users/groups/OUs then click OK button

(48)

11. Click Save button

12. Logout

(49)

13. Login

(50)

14. Click Office 365 tile

References

Related documents

For a seamless user experience, you might think about combining your on-premises Active Directory with Azure AD by setting up directory synchronization (including password sync)

Choose from a range of applications that run locally on the Zynstra Appliance Microsoft Office 365 integration: Single sign-on & backup from Office 365 to appliance

Centrify provides unified identity management across data center, cloud and mobile environments that result in single sign-on (SSO) for users and a simplified

Appendix 1: Customer On Boarding Questionnaire

This document describes how to configure Active Directory Federation Service (AD FS) Version 2.0 in order to enable Security Assertion Markup Language (SAML) Single Sign-on (SSO)

Complete the configuration for federation/establishing trust between Azure AD (Azure Active Directory) and NetScaler using the Azure AD Module for Windows Powershell.. Setup

Logon Enabled User Object (Unlicensed) Mail-Enabled User (not Mailbox-Enabled) ProxyAddresses: SMTP: [email protected] smtp: [email protected] TargetAddress:

Enable AD Single Sign On Step 5, 6, 7 AD integrated to Office 365, single login and password Exchange Federation 2010 Step 8 Exchange integration to Office 365... If the Exchange