Document version (last updated) : August 30th, 2022.
Note: If you downloaded this PSD before the date above, please remove it and reinstall with this PSD.
Prerequisite
- A PhenixID Identity Manager (IM) 6.0.3 or later running
- A PhenixID Identity Provisioning (PIP) 6.1.0 or later running
- NOTE: For better understanding of how PIP and PIP communicate using REST Web Service, please read PSD1062.
Situation
The main focus for this use case are two things:
- Create Office 365 account
- Create a home directory with an Active Directory account
Both bullets above will use two different powershell scripts.
Configuration
This PSD includes configuration so you can set this up in your own environment. First you need to download a ZIP file that contains a number of files. Open the different files and update them to map your environment, e.g change to your Active Directory name.
Use Cases
1. Download and extract configuration ZIP
Download the PSD1176.zip file.
Extract the zip-file.
2. PIM files and configuration
2.1 – Add PIM configuration for use case
- From ZIP-file open folder \..\PSD1176\PIM
- Copy folder UC – PSD1176 – Create Office 365 account with home directory and paste it to your IM installation and the /role folder.
Example path to role folder \..\PhenixID\IM\customer\role - Open DSEditor.properties
- Find and update below parameters to map your environment:
BASEDN=DC=demo,DC=phenixid,DC=net
filter.PIPFilter.URL=http://127.0.0.1:8085 - Save file and restart PhenixID Identity Manager service
- Find and update below parameters to map your environment:
- Open Create Office 365 account with home directory.xml file
- Find VirtualViewBaseDNs parameter (line 25) and change value to map an OU in your environment.
3. PIP files and configuration
3.1 – Import PSD1176_PIP.aax
- Open the Identity Provisioning Configurator
- Click File -> Import Objects
- In the extracted ZIP you downloaded, open /../PSD1176/PIP folder.
- Choose PSD1176_PIP.aax
- Click Import Objects
- When imported it should look below. verify that Data source AD-DEMO matches your environment and connection works ok.
- Save the PIP configuration
3.2 – Change data source to map your Active Directory
- Open PIP configurator
- Expand Data Sources and click LDAP PIM-UC
- Change configuration to map you environment
3.3 – Create Global parameter for where the Root of your AD
- Open PIP configurator
- Click Tools and Global Parameters
- Add one custom parameter for the root of your LDAP/AD.
- LDAPRoot – e.g. DC=company,DC=local
- Click OK
- Save PIP configuration
- Add one custom parameter for Office 365 suffix used for UPN
- Off365_UPN – e.g. PhenixID.onmicrosoft.com
- Click OK
- Save PIP configuration
3.4 – Create and OU in Active Directory called PSD1176 under LDAPRoot
E.g. OU=PSD1176,DC=company,DC=local
4. Powershell script
4.1 – Add Powershell script to create Office 365 accounts and home directory
- In the zip-file and the /../Powershell folder. Copy the two files and place them to in C:\
4.2 – Change script to map to your Office 365 login data
For more info about the asked IDs below, please read PSD1200.
- Open script
- Find your_app_id and add your APPID
- Find your_tenant_id and add your TENANTID
- Find your_thumbprint_id and add your certificate THUMBPRINT
4.3 – Add folder where home directories will be created
- The 365_HD_CreateHomeDirectory.ps1 will be used to create home directories.
- All home directories will by default be created at c:\temp
- If you do not have a temp folder, then create one.
4.4 – Allow script to be trusted on your Windows Server
- Right click each of the two script and select Properties.
- Unselect checkbox Unblock to trust the scripts, see image below
DISCLAIMER
Information provided in this document is for your information only. PhenixID makes no explicit or implied claims to the validity of this information. Any trademarks referenced in this document are the property of their respective owners.The origin of this information may be internal or external to PhenixID. PhenixID makes all reasonable efforts to verify this information.
PhenixID - support.phenixid.se