Configure two StoreFront stores to share a common subscription datastore

Last published : Nov 27, 2026
The StoreFront installation process installs a Windows datastore locally on each StoreFront server to maintain its subscription data. In StoreFront server group environments, each server also maintains a copy of the subscription data used by its store. This data is propagated to other servers to maintain user subscriptions across the whole group. By default, StoreFront creates a single datastore for each store. Each subscription datastore is updated independently from each other store.
Where different configuration settings are required, it is common for administrators to configure StoreFront with two distinct stores for the same resources; e.g. one for external access to resources using Citrix Gateway and another for internal access using the corporate LAN. If you are using a SQL server database, set both stores to use the same database connection string. For more information, see Store subscription data using Microsoft SQL Server. When using the local datastore, a user must subscribe to the same resource twice, once on each store. You can configure both stores to share a common subscription datastore so users see the same subscriptions whichever store they connect to.
Important:
As the site name forms part of the key for a subscription, you must ensure that sites have exactly the same name in both stores.
Note:
The Citrix Virtual Apps and Desktops controllers configured on each store must match exactly; otherwise, an inconsistent set of resource subscriptions on one store compared to another might occur. Sharing a datastore is supported only when the two stores reside on the same StoreFront server or server group deployment.
The subscription data for each store is located in:
C:\Windows\ServiceProfiles\NetworkService\AppData\Roaming\Citrix\SubscriptionsStore\1__Citrix_<StoreName>
For two stores to share a subscription datastore, you need only point one store to the subscription service endpoint of the other store.
E.g. suppose you have stores called "Internal" and "External". When using the local datastore, use the following script to configure the "External" store to use the same subscription datastore as the "Internal" store.
$internalStore=Get-STFStoreService -VirtualPath '/Citrix/Internal'
$internalUri = $internalStore.SubscriptionStoreClient.ClientEndpoint.Uri.ToString()

$externalStore=Get-STFStoreService -VirtualPath '/Citrix/External'
$externalStore.SubscriptionStoreClient.ClientEndpoint.Uri = $internalUri
Save-STFService $externalStore
Propagate the configuration to other servers in the server group.
To check which local datastore a store is using, run the following script:
$store=Get-STFStoreService -VirtualPath '/Citrix/External'
$store.SubscriptionStoreClient.ClientEndpoint.Uri.ToString()