Set up Store operations

After deploying Store operations, you must set up an organizational structure that protects sensitive data and enables collaboration. You can set up business units, security roles, and field security profiles to control data access.

Management of business units, teams, and users for Store operations is done through the Power Platform Admin Center. The following sections provide the details on how to set up data for Store operations. 

Prerequisites 

You need to sign in to Store operations Admin using your System Administrator and Teams Administrator to set up Store operations.

Create business units

Business Units represent the hierarchy of the retail organization, from the headquarters down to the stores, such as Headquarters -> District -> Store -> Department. Store operations enables customers to create any levels of hierarchy that reflects their organizational structure. Select the hierarchy icon next to the hierarchy name to get a hierarchical view of the business units.

The image shows business units in hierarchical view.

To create a business unit, perform the following steps:

  1. On the left navigation pane, select Business units.

    Screenshot of the navigation pane with Business units highlighted.

  2. Copy the default business unit value displayed on the screen.

  3. Open the sample Business Unit.csv file. Download and extract the sample data from the Business unit zip file.

  4. Change the Parent Business value of the highlighted cells in that column to the default business unit value in your environment. This value displays when you open the business units on the left navigation pane. Similarly, change the Manager value in the highlighted cells in that column with the value that you're using.

    Screenshot of the file open in Microsoft Excel.

  5. On the left navigation pane, select Business units.

  6. Select Edit columns > Add columns.

  7. Select Territory > Manager.

    Screenshot of selecting the territory.

  8. Select Close on the Add columns screen and then select Apply on the Edit columns screen.

  9. Select Export to Excel.

    Screenshot of the ellipsis button selected to reveal the Export to Excel option.

  10. Open the downloaded Microsoft Excel file, copy all rows from the sample Business Unit.csv file into the new Excel sheet, and then save the Excel file.

  11. On the Business units form, select the ellipsis (...) menu on the upper command bar and then select Import from Excel.

    Screenshot of the ellipsis button selected to reveal the Import from Excel option.

  12. Upload the Excel file from the local directory and then select Next.

    Screenshot of Import from Excel with the File Upload option selected.

  13. The Allow Duplicates option is set to No by default. Don't change this option.

  14. Select Finish Import in the lower-right corner of the screen.

  15. To track the progress of the import, go to Power Apps (we recommend that you use an Incognito or InPrivate browsing session).

  16. Sign in with your manager credentials.

  17. Select the correct environment from the Environment dropdown menu in the upper-right corner.

  18. Select the Settings gear icon and then select Advanced Settings in the upper-right corner of the ribbon.

  19. Select Settings > Data Management.

    Screenshot of the pop-up screen showing Data Management selected.

  20. Select Imports. If all records are successfully processed, then the Status Reason indicates Completed and the value in the Successes field is equal to Total Processed.

    Screenshot of the My Imports screen showing the number of successes and the status.

For more information, see Create or edit business units, Assign a business unit to a different parent business, and Hierarchy security to control access.

Specify time zone for Business Units

You can establish a specific time zone for each business unit. This designated time zone serves as the reference for the business unit manager and other users associated with the same business unit. Furthermore, the due times assigned to tasks now align with the respective business unit's time zone.

The image shows how to specify time zone for each business unit.

In instances where a store associate is affiliated with more than one business unit, the Store operations Mobile prompts the associate to select the appropriate time zone upon sign in. Later, the chosen time zone is set for that associate, ensuring accurate time-related functionalities within the application.

Create user accounts

You can use the Microsoft 365 admin center to create user accounts for every user who needs access to Store operations.   For more information, see create a user account

Create Dataverse teams

You can create Microsoft Dataverse teams to collaborate with other people across business units. Although a team belongs to one business unit, it can include users from other business units. You can associate a user with more than one team.

For more information, see: Microsoft Dataverse teams management and Manage group teams.

Set up Microsoft Teams team

You can configure a Microsoft Teams team in Store operations for task assignments. Power Platform offers the capability to sync the team and user information from Microsoft Entra ID and use it in Store operations.

To configure a Microsoft Teams team in Store operations, perform the following steps:

  1. Sign in to Power Platform admin center.

  2. Select an environment, and then select Settings > Users + permissions > Teams.

  3. Select + Create team.

  4. Specify the following fields:

    The image shows how to configure teams in Store operations.

    Field name Details
    Team name Enter a name that is unique within a business unit.
    Description Enter a description of the team.
    Business unit Select the Store operations business unit for which you're configuring this team.
    Administrator Search for administrator user in the organization for this team.
    Team type Select the team type from the dropdown list.
    Group name Search and select the team that you want to use in Store operations. Ensure that you already created this team in Microsoft Teams.
    Membership type Select the membership type from the dropdown list.
  5. Configure the new team and assign a security role to the team.

You successfully configured an existing team from Microsoft Teams in Store operations application for task assignment.

Important

When users are synced from Microsoft Entra ID, the correct user role and the business unit have to be assigned to the users manually.

Tip

As a best practice, you can model the business unit hierarchy in Store operations based on the team targeting hierarchy in Microsoft Teams.This step would sync the team and user information from Microsoft Teams to Store operations directly and would make user management easier. For more information, see Set up your team targeting hierarchy. For additional business units created in Store operations, which are different from the team targeting hierarchy, the user management would have to be done in Power Apps.

Sync setup with Microsoft Teams

Establishing a frontline operational hierarchy plays a crucial role in enhancing the effective management of tasks related to store operations. The synchronization setup with Microsoft Teams aims to optimize this hierarchy, ensuring a seamless integration that facilitates improved task management.

This feature empowers retailers to establish a frontline operational hierarchy seamlessly integrated with the organization's frontline teams and locations structure in the Teams admin center. It represents a pioneering instance of integrating Microsoft Teams and a Power Apps frontline app such as Store operations in a unified, cohesive system. For more information, see Deploy your frontline operational hierarchy.

With this feature, you can:

  • Assign the security role required for store employees to access Store operations.

  • Associate store employee's time zone with the store's time zone. As a result, tasks are published to the store's local time zone.

  • Update a store's parent node (for example, district) in Teams, if the parent node is updated in input file (teams hierarchy).

PowerShell scripts can be used as one time operation to replicate the hierarchy from Teams to Dataverse (Store operations) and for periodic synchronization of teams and users. When you execute these scripts, the inherent logic extracts user and team details from Microsoft Entra, while the hierarchy is derived from Teams. This streamlined process significantly simplifies user management, consolidating it into a singular platform – Microsoft Teams.

Download the scripts from the links to perform the following tasks:

Assign licenses 

You must assign license to user accounts for Store operations access.

For more information, see assign licenses to a user

Assign security roles 

Store operations provides the following security roles: 

  • Retail Data manager: The responsibility of this role is to keep the master data (for example, product, customer, asset, stores) up-to-date. This role is typically a business analyst at regional headquarters familiar with the data schema (tables and fields). 

  • Retail District Operations manager: The responsibility of this role is to drive sales, customer service, and associate engagement throughout the district. They drive district consistency and provide support to the stores in specific areas of expertise by engaging store leadership teams. They create and assign strategic in-store activities, such as visual merchandising and promotion executions, to the store managers. 

  • Retail Store manager: The responsibility of this role is to drive sales and service, increase associate engagement and ensure operational excellence in the store. They can sign in to Store operations and view the activities assigned to them by the District Operations Manager by using the filter option – assigned to me. They in turn, assign activities to the Operations associates. They can also create and assign store activities specific to their store or delegate urgent tasks to the Operations associates. 

  • Retail Operations associate: The responsibility of this role is to perform upkeep of the store and keep operations flowing and safe. The tasks might involve picking up trash, putting discarded items back in the correct place, conducting product audits, cycle counts, asset audits, safety walks, and others. The retail associate must ensure that the shelves of a retail store are stocked with products and displays for customers. They also must track inventory levels, report any issues or shortages to management and clean up unwanted items that are flagrant violations to in-store decorum. 

  • Retail Customer assistant: The responsibility of this role is to engage with customers visiting the store and provide them with knowledgeable support. The tasks of a customer associate encompass assisting customers with product/service discussions, answering their inquiries, scheduling virtual appointments with experts, following up with customers, making sales, and delegating tasks to coworkers. They also must work on keeping store shelves fully stocked with merchandise and displays for customer convenience, discussing new products with customers, and fostering stronger customer relationships.

Important

Licensed users must be assigned at least one security role to access Store operations. Security roles can be assigned either directly or indirectly by a member of a group team. For more information, see assign a security role to a user. You can edit the privileges associated with an existing security role. For more information, see edit a security role.

Caution

If you edit an out-of-box security role, ensure that you test the solution with the updated role before rolling it out to frontline workers.

Set up inventory visibility

You can integrate Store operations with your existing ERP system and use the new inventory visibility feature in Store operations to get product and inventory information. This feature empowers store associates with valuable product and inventory insights, enhancing their ability to serve customers effectively.

The inventory visibility feature is enabled by connecting your ERP with custom APIs to get data. It has two plugins:

  • Fetch product information: The Fetch product information plug-in is used to obtain product information like product ID, product name, category of product, product description, product images and product rating from the retailer's existing ERP system and show it in Store operations Mobile.

  • Fetch inventory information: The Fetch inventory information plug-in is used to obtain inventory information like product price, inventory count, location of inventory, restocking date from their existing ERP system and show it in Store operations Mobile.

The given table lists the required request parameters for each custom API:

Custom API
Required Request Parameters
Fetch Product Information     productid 
variantFilters 
Fetch Product Inventory   productid 
storeId 
variantFilters 

To update the plug-in to the custom APIs for inventory visibility, perform the following steps:

  1. Download the sample Clienteling Custom APIs for reference.  

  2. Add your code to these plug-ins to integrate with your ERP system and fetch the data.

  3. Go to Power Apps maker portal to initiate the configuration process for inventory visibility.

  4. Select Store operations UI solution from the list of solutions available on the home page.

    The image shows the store operations assist UI solution.

  5. Select Custom API in the left panel. A list of custom APIs is displayed. You need to update the relevant plug-ins in both Custom APIs.

  6. Select Fetch Product Information.

  7. You're redirected to a form. Scroll down on that form and update the plugin type field. Replace the default plug-in with the one that you created in the earlier step. Select Save.

    The image shows how to update the plug-in type in the Fetch Product Information API.

  8. Repeat the steps for the other Custom API, Fetch Product Inventory.

Enable search settings

In a trial or sandbox environment, the search setting is off by default, and you have to turn on the setting for Contact searching. If the search setting is off, a store associate can't search for a customer baseball card or create a new customer or appointment.

To turn on the search setting, perform the following steps:

  1. Sign in to Power platform admin console.

  2. Navigate to your environment setting features.

  3. In the Search section, enable Dataverse search by using the On (recommended) toggle.

The image shows how to enable Dataverse search.

Collect feedback from users

You can collect feedback from end-users such as store associates on how satisfied they are with their Store operations Mobile experience. To know more, see: App ratings (Preview).