Configure integration with Virtual Appointments (Preview)
Some or all of this functionality is available as part of a preview release. The content and the functionality are subject to change.
Intelligent appointments offers integration with the Virtual Appointments app with the help of the Graph API to offer a unique, personalized, and branded online meeting experience to customers.
With Virtual Appointments in Microsoft Teams, you can conduct business-to-customer engagements. For more information on Virtual Appointments, see Virtual Appointments with Microsoft Teams.
Configure Virtual Appointments as an online meeting platform
The process to configure the Virtual Appointments app as an online meeting platform requires you to perform following tasks:
1. Register the application on the Azure portal
Perform these steps to register your application:
Follow steps 1 through 7 in 1. Register the application on the Azure portal.
Select API permissions on the left navigation pane, and then select + Add a permission. To create a virtual appointment, the following permissions are required: Get virtualAppointment
Select Microsoft APIs and then select Microsoft Graph.
On the Request API permissions page, select Application permissions. Use the search box to search for OnlineMeetings.ReadWrite. Select OnlineMeetings.ReadWrite.All, and then select Add permissions.
- Select Grant admin consent, as shown in the following image. On the Grant admin consent confirmation pop-up window, select Yes.
2. Create environment variables in Power Apps portal to serve the Virtual Appointments workflow
Perform these steps to create the environment variables in the Power Apps portal:
From your Microsoft 365 tenant, go to the Power Apps portal.
Create a new solution with your desired publisher and create three new environment variables as follows:
Application ID: Paste the particular value that you've previously created. Ensure that the date type is text.
Tenant ID: Add your Tenant ID. Ensure that the date type is text.
Secret environment variable: Holds the secret that you've previously created.
- Configure the Azure Key Vault by following this procedure.
Systems take a few hours to sync. Therefore, you must wait before moving to the next step.
- Create a new environment variable for the key vault secret.
Ensure that you have already configured the communications before configuring the Virtual Appointments workflow.
3. Configure the Virtual Appointments workflow
Perform these steps to configure the Virtual Appointments workflow:
Open the Virtual Appointments Configurations (Preview) solution.
Edit Create virtual appointment Flow.
Create a connection to Dataverse by selecting Continue.
In the flow dashboard, select Edit against Run only users, and select the connection used to configure the Intelligent appointments communications.
Ensure that the flow status is On.
Open the Intelligent appointments communications solution.
a. Edit the FSI_SendAppointmentScheduledEmail Flow.
b. Select Run a Child Flow.
c. Fill in the missing variable with the environment variables that you defined in 2. Create environment variables in Power Apps portal to serve the Virtual Appointments workflow.
Ensure that the value of secretEnvVariableName is the name of the schema associated with the environment variable that you defined for the user secret in 2. Create environment variables in Power Apps portal to serve the Virtual Appointments workflow.
e. Save the edits. Ensure the flow status is On.
Publish all the customizations.