{"id":1658,"date":"2018-11-23T12:00:27","date_gmt":"2018-11-23T12:00:27","guid":{"rendered":"http:\/\/neu.koetzingit.de\/citrix-user-profile-manager-und-office-365\/"},"modified":"2026-06-02T13:32:49","modified_gmt":"2026-06-02T13:32:49","slug":"citrix-user-profile-manager-und-office-365","status":"publish","type":"post","link":"https:\/\/www.koetzingit.de\/en\/citrix-user-profile-manager-und-office-365\/","title":{"rendered":"Citrix User Profile Manager and Office 365"},"content":{"rendered":"<p><span class=\"dropcapmiddle\">M<\/span>Microsoft Office 365 presents challenges for multi-user environments, whether using Microsoft Remote Desktop Services alone or in conjunction with Citrix <strong>XenApp\/XenDesktop<\/strong>. The Exchange servers are hosted in the cloud, which means that the <strong>Outlook Cache Mode<\/strong> required. When cache mode is enabled, a <strong>OST file<\/strong> under <code>AppData\\Local\\Microsoft\\Outlook<\/code> created, which can currently be up to 100 GB in size.<\/p>\n<p>This leads to the following problems:<\/p>\n<ul>\n<li>The profiles are getting longer, which means the sign-up process is taking longer.<\/li>\n<li>First, the OST file must be extracted from <code>AppData\\Local<\/code> be taken along.<\/li>\n<li>Microsoft does not support redirecting the OST file to a network share.<\/li>\n<li>Redirecting works, but reading via SMB can be very slow.<\/li>\n<\/ul>\n<p>In addition to cache mode, there is also the <strong>Search Index<\/strong> for Outlook, and the same issues arise here. But what solutions do Microsoft and Citrix offer for this in a multi-user environment? Since the release of Citrix <strong>User Profile Manager<\/strong> (UPM) Version 7.18 provides a solution for OST and SearchIndex.<\/p>\n<p><!--more--><\/p>\n<p>The standard solution to this problem on the market involves the use of virtual drives, such as VHDX. Access to the OST file from a virtual drive occurs in blocks, which offers significant advantages. Microsoft has been doing this for quite some time with ProfileDisk and\/or FSLogix, and Citrix has been addressing this starting with version UPM 7.18 and higher. With Microsoft, the entire profile can be moved to a VHDX, but with Citrix, this has so far only been possible for the OST file and the search index. Recently, additional folders can also be specified.<\/p>\n<h3><span class=\"label label-success\">UPM Search Index Roaming for Outlook<\/span><\/h3>\n<p>Citrix uses this term to describe the feature mentioned earlier. However, I believe Outlook Cache Mode Roaming would be the better choice, and this might also explain why customers tend to overlook this feature. In fact, as a Citrix policy, only this one option needs to be set so that the OST file is written to a VHDX on the UPM storage share.<\/p>\n<p>\u00a0<\/p>\n<h3><span class=\"label label-success\">How does it work?<\/span><\/h3>\n<p>As soon as a user logs in, the UPM service generates two <strong>100 MB VHDX files<\/strong> (dynamic up to 100 GB) is created in the user's share. During login, the local Microsoft account is managed via the Profile Manager <a title=\"Virtual Disk Service\" href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/desktop\/vds\/virtual-disk-service-portal\" target=\"_blank\" rel=\"noopener noreferrer\">Virtual Disk Service<\/a> must specify the VHDX file with the path <code>%UserProfile%\\AppData\\Local\\Microsoft\\Outlook<\/code> to link to.<\/p>\n<p>\u00a0<img decoding=\"async\" class=\"size-full wp-image-1655\" src=\"http:\/\/www.koetzingit.de\/wp-content\/uploads\/2018\/11\/blogs-upm-off365-vhdx.png\" width=\"400\"  alt=\"Blogs Upm Off365 Vhdx\"  title=\"Citrix User Profile Manager and Office 365\" srcset=\"https:\/\/www.koetzingit.de\/wp-content\/uploads\/2018\/11\/blogs-upm-off365-vhdx.png 997w, https:\/\/www.koetzingit.de\/wp-content\/uploads\/2018\/11\/blogs-upm-off365-vhdx-300x42.png 300w, https:\/\/www.koetzingit.de\/wp-content\/uploads\/2018\/11\/blogs-upm-off365-vhdx-768x107.png 768w\" sizes=\"(max-width: 997px) 100vw, 997px\" \/><\/p>\n<p>This can be clearly seen on the server, as the folder is displayed as a linked disk, and Disk Management shows the virtual hard disks (100 GB)\u2014two per user.<\/p>\n<p><img decoding=\"async\" class=\"size-full wp-image-1656\" src=\"http:\/\/www.koetzingit.de\/wp-content\/uploads\/2018\/11\/blogs-upm-off365-link.png\" width=\"300\"  alt=\"Blogs Upm Off365 Link\"  title=\"Citrix User Profile Manager and Office 365\" srcset=\"https:\/\/www.koetzingit.de\/wp-content\/uploads\/2018\/11\/blogs-upm-off365-link.png 681w, https:\/\/www.koetzingit.de\/wp-content\/uploads\/2018\/11\/blogs-upm-off365-link-300x262.png 300w\" sizes=\"(max-width: 681px) 100vw, 681px\" \/><\/p>\n<p><img decoding=\"async\" class=\"size-full wp-image-1657\" src=\"http:\/\/www.koetzingit.de\/wp-content\/uploads\/2018\/11\/blogs-upm-off365-dm.png\" width=\"400\"  alt=\"Blogs Upm Off365 Dm\"  title=\"Citrix User Profile Manager and Office 365\" srcset=\"https:\/\/www.koetzingit.de\/wp-content\/uploads\/2018\/11\/blogs-upm-off365-dm.png 904w, https:\/\/www.koetzingit.de\/wp-content\/uploads\/2018\/11\/blogs-upm-off365-dm-300x177.png 300w, https:\/\/www.koetzingit.de\/wp-content\/uploads\/2018\/11\/blogs-upm-off365-dm-768x452.png 768w\" sizes=\"(max-width: 904px) 100vw, 904px\" \/><\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<h3><span class=\"label label-success\">What should you keep in mind?\u00a0<\/span><\/h3>\n<p>Errors that occur when loading the disk via the Microsoft service are recorded in the administrative event log, not in the UPM log. The service seems to be somewhat sensitive to permissions, even though it runs in the system context. One of my clients had UPM permissions set only for <strong>Authenticated users<\/strong> entitled to and <strong>Everyone<\/strong> removed. This worked for administrative users, but not for regular users. After the reset, everything worked as expected.<\/p>\n<p>Currently, there are issues linking the VHDX file to the directory via the User Profile Manager. Events 3005 and 3006 are associated with this, but they offer no help and do not explain what the problem is. Searching the UPM log is futile. Temporarily renaming the VHDX file and then recreating it has helped restore the link for the time being. Afterward, the VHDX file can be renamed back to its original name to avoid rebuilding the cache of 5 GB or more, for example.<\/p>\n<p>When a user logs out, the SearchIndex service takes a relatively long time to release access. If there isn\u2019t enough time after logout and profile unloading, the virtual disk won\u2019t be unloaded either, leading to major problems. The UPM setting for delayed deletion of the local profile and setting a minimum of 60 seconds provided a partial remedy.<\/p>\n<p>Last but not least, Outlook saves by default<strong> all emails<\/strong> to the cache, so it is essential to specify an appropriate time period (3 months) via Group Policy.<\/p>\n<p>\u00a0<\/p>\n<h3><span class=\"label label-success\">Conclusion<\/span><\/h3>\n<p>With this new feature, Citrix offers a solution for Outlook Cache Mode and the search index. Unfortunately, the VHDX links are not consistent and are therefore currently <strong>just something for a PoC<\/strong>. If errors occur in this area, there is essentially no useful assistance available, and nothing can be found online regarding this issue either.<\/p>\n<p>\u00a0<\/p>","protected":false},"excerpt":{"rendered":"<p>Mit Microsoft Office 365 gibt es Probleme f\u00fcr Multiuser-Umgebungen, ob nun bei reinen Microsoft Remote Desktop Diensten oder mit Citrix [&hellip;]<\/p>\n","protected":false},"author":1755,"featured_media":1590,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[12],"tags":[248,244,27,251,250,254,32,252,42,255,182,249,253,206,247,246],"class_list":["post-1658","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-articles-de","tag-block","tag-cache","tag-citrix","tag-exchange","tag-fslogix","tag-index","tag-microsoft","tag-mode","tag-office","tag-ost","tag-profile","tag-read","tag-search","tag-upm","tag-vhd","tag-vhdx"],"uagb_featured_image_src":{"full":["https:\/\/www.koetzingit.de\/wp-content\/uploads\/2016\/11\/news-next28-journal-sq.jpg",360,360,false],"thumbnail":["https:\/\/www.koetzingit.de\/wp-content\/uploads\/2016\/11\/news-next28-journal-sq-150x150.jpg",150,150,true],"medium":["https:\/\/www.koetzingit.de\/wp-content\/uploads\/2016\/11\/news-next28-journal-sq-300x300.jpg",300,300,true],"medium_large":["https:\/\/www.koetzingit.de\/wp-content\/uploads\/2016\/11\/news-next28-journal-sq.jpg",360,360,false],"large":["https:\/\/www.koetzingit.de\/wp-content\/uploads\/2016\/11\/news-next28-journal-sq.jpg",360,360,false],"1536x1536":["https:\/\/www.koetzingit.de\/wp-content\/uploads\/2016\/11\/news-next28-journal-sq.jpg",360,360,false],"2048x2048":["https:\/\/www.koetzingit.de\/wp-content\/uploads\/2016\/11\/news-next28-journal-sq.jpg",360,360,false],"trp-custom-language-flag":["https:\/\/www.koetzingit.de\/wp-content\/uploads\/2016\/11\/news-next28-journal-sq.jpg",12,12,false]},"uagb_author_info":{"display_name":"Thomas K\u00f6tzing","author_link":"https:\/\/www.koetzingit.de\/en\/author\/thomas-koetzing\/"},"uagb_comment_info":0,"uagb_excerpt":"Mit Microsoft Office 365 gibt es Probleme f\u00fcr Multiuser-Umgebungen, ob nun bei reinen Microsoft Remote Desktop Diensten oder mit Citrix [&hellip;]","_links":{"self":[{"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/posts\/1658","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/users\/1755"}],"replies":[{"embeddable":true,"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/comments?post=1658"}],"version-history":[{"count":1,"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/posts\/1658\/revisions"}],"predecessor-version":[{"id":1872,"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/posts\/1658\/revisions\/1872"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/media\/1590"}],"wp:attachment":[{"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/media?parent=1658"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/categories?post=1658"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/tags?post=1658"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}