Problem:
Setting up a vhd for OST file for use with Office 365
Resolution:
Please refer the the attached PDF "O365 OST VHD Storage" for process.
Step 1 :- Download the JSON file from bottom of this KB.
Step 2 :- Browse Administrator/Administration/Templates and Click Import Template
Step 3 :- Select Template downloaded to Upload.
Step 4 :- Confirmation of Import will show as successful.
Step 5 :- Select Configuration Management from Left Menu. Click Create Configuration.
Step 6 :- Select Guided Configuration
Step 7 :- Specify Active Directory Group that Configuration will apply (I.e WILKYIT\grp-puO365users), Click Add. Deployment path by default will be the ProfileUnity in NETLOGON. Then Click Next
Step 8 :- Select the recently created template (Office365 Outlook OST Storage Virtual Disk – Imported) . Click Next
Step 9 :- Specify path where the VHD will be stored. In my case \\LAB-DC1\ProfileUnity\%USERNAME%. Then Click Next
Step 10 :- At Deployment Path, Click Update to deploy the INI file into the default INI location (%DOMAIN%\NETLOGON\PROFILEUNITY)
Additionally the following step needs to be completed to ensure the user can write/own the permission on the VHD volume.
Step 12: Create an Application Launcher rule in the new configuration using the settings defined below:
- Filespec: %SystemRoot%\System32\cmd.exe
- Arguments: /c powershell.exe -command "& {foreach ($DeviceID in Get-WMIObject -Class Win32_Volume | Where Name -like "*$env:USERNAME\AppData\Local\Microsoft\Outlook*" | Select DeviceID -ExpandProperty DeviceID) {icacls.exe $DeviceID /grant "$env:USERDOMAIN\$env:USERNAME':(OI)(CI)(F)'"}}" > %TEMP%\VHDX_ACL.log
- Timing: After Configuration Execution
- Hide Progress During Execution: Check the box
Step 13: Update and deploy "O365 OST VHD Storage.ini" configuration to run along side your main configuration.
Testing Configuration
Step 1: Log in as ctxuser1 (which is a member of the ProfileUnity security group)
Step 2: Profile Unity Splash screen will appear showing initialising
Step 3: The splash screen will show execution of O365 OST Virtual Disk, confirming INI file has been detected and is running for the user.
Step 4: Browsing to the Location specified in Configuration Section – Step 9
Step 5: Browsing to %LocalAppData%\Microsoft , the Outlook Folder is mounted to the VHD file and previous folder has been renamed Outlook.old.
Step 6: Open Microsoft Outlook , Click Next to begin setup of profile
Step 7: Select Yes to setup Outlook e-mail account. Click Next
Step 8: Enter the appropriate details to setup the Office 365 account in outlook. Then click Next
- Your Name: Name
- e-mail address: yourname@yourcompany.com
- Password: password for the account.
Step 9: Establishing Connection, Search for the Outlook setting and logging on to the mail server will begin
Step 10: After successful setup, ensure “change account settings” is ticked and click Next
Step 11: Ensure that “Use cached exchange mode” is ticked and click Finish
Step 12 : Looking at the %LocalAppData%\Microsoft\Outlook the folder is populated with the outlook cache.
This will allow the ProfileUnity product run without depending on the ProfileDisk to capture all setting this making it profile agnostic.
Attachments:
"Template-Office 365 Outlook OST Storage Virtual Disk.make me json"
rename to below before importing
Template-Office 365 Outlook OST Storage Virtual Disk.json
Product: ProfileUnity-FlexApp
Product Version: 6.7.x & above