Exercise – Set up environment variables for Store Operations Assist Teams

Completed

In this exercise, you set up the mobile App ID and the mobile URL environment variables.

Note

This setup is specific only for setting up Store Operations Assist Mobile within Microsoft Teams.

Task - Set up the mobile App ID environment variable

As Oscar, the Microsoft Power Platform administrator, you need to set up the mobile App ID so that store associates can navigate from Store Operations Assist Teams to Store Operations Assist Mobile.

  1. Sign in to Power Apps.

  2. Ensure that you're in the correct environment.

  3. Select Apps in the left navigation pane, select Store Operations Assist Mobile, and then select Details from the More Commands (...) dropdown menu.

    Screenshot of Details selected from the More Commands menu.

  4. Copy the App ID and then save it for use in a later step.

    Screenshot of the App ID highlighted.

  5. Select Solutions in the left navigation pane.

  6. In the search area, search for Default. Select Default Solution.

    Screenshot of the Default Solution option selected.

  7. Select Environment variables and then select SOAMobileAppID.

    Screenshot of environment variables with S O A Mobile App I D selected.

  8. In the right pane, select + New value under Current Value.

    Screenshot of the New value button.

  9. Paste the copied App ID in the Current Value field for the SOAMobileAppID environment variable. Select Save.

    Screenshot of the Save button to save the copied App I D.

Task - Set up the mobile URL environment variable

As Oscar, the Microsoft Power Platform administrator, you need to set up the URL of the Store Operations Assist environment that you want your store associates to access through Teams.

  1. Sign in to Power Apps.

  2. Ensure that you're in the correct environment.

  3. To get the app URL, go to Settings > Session details.

  4. Copy the instance URL without the https://www part and the last forward slash (/) and then save it for use in a later step.

    Screenshot of the instance URL.

  5. Select Solutions in the left navigation pane.

  6. In the search area, search for Default. Select Default Solution.

    Screenshot of the default search results.

  7. Select Environment variables and then select SOAMobileURL.

    Screenshot of the mobile U R L environment variable.

  8. In the right pane, select + New value under Current Value.

    Screenshot of the New value button under the Current Value area.

  9. Paste the copied URL in the current value for the SOAMobileURL environment variable. Select Save.

    Screenshot of the save value button.