Power Platform Tools for Visual Studio

Here’s how you can quickly deploy and debug Dynamics 365 CRM plugins using Power Platforms Tools in Visual Studio

This is the first post in the series and once complete setting up Power Platform Tools for Visual Studio, I’ll follow up with writing and deploying C# CRM Plugins through Power Platform Tools for Visual Studio!

Let’s setup Power Platform Tools for Visual Studio first!

Getting Power Platform Tools in Visual Studio

Here’s how you can configure Power Platform Tools in Visual Studio from the Marketplace –

  1. In your Visual Studio, under Extensions, click on Manage Extensions.

  2. Then, search for Power Platform Tools and you’ll find on in the top few results itself which you will be able to identify as highlighted below.
    Click to install the “Power Platform Tools for VS 2022

  3. You’ll need to close Visual Studio for the installation to be proceed.

  4. Then, it’ll continue as a VSIX Installer and continue to install this extension for your VS.

  5. And this will be completed in a few moments.

  6. Once done, when you open Visual Studio back again, you’ll find “Connect to Dataverse” under Tools section in Visual Studio

  7. It’ll ask you to authenticate into your Dataverse environment. This doesn’t work with accounts using MFA – so for this demonstration, I turned off MFA temporarily for my trial environment.

  8. Then, I was asked to select the environment within the tenant.

  9. Now, I was asked to choose the Solution within the selected environment.


  10. Now, I could see all the Tables expanded in the Power Platform Explorer view.

  11. When you minimize, this is what you’ll see. You’ll see all items available to work with.


Next, I’ll demonstrate on registering a Plugin Assembly from Visual Studio Tools and registering a plugin. Watch this space!

Hope this was useful!

Thank you!

Cards in Power Apps

Cards in Power Apps can get you to send Adaptive Cards in Teams chats or channels without having to leave Power Platform to make your card!

Yes, till recently I was having a hard time to make an Adaptive Card in the Adaptive Cards Designer which is outside of the context of Dynamics/Dataverse and then embed it into Flow to be sent to a User – until Cards in Power Apps came along!

Let’s see how we can get started with the same and create our first Card and send in a Teams Chat!

Create a Card in Power Apps Maker Portal

Given you have appropriate access to create and view Cards, here’s how you can create your Card in Power Apps Maker portal –

  1. Navigate to Power Apps Maker Portal (https://make.powerapps.com/) and select the right environment with Dataverse in which you want to create your Cards.

  2. When you click on + New Card, Cards will ask you to name it and add a description.

  3. And once you create – you’ll be taken to the Card Studio.

  4. One the left hand side, you can see the menu which you can identify what the Card can be configured to do.

  5. To keep the function of the Card example, simple – I’m only displaying the logged in user name on click of a button.


  6. Notice that on the right hand side, you have different ways to deploy this Card – like in a Teams Chat.

  7. When in Play Mode, you’ll get to use the Card as it would work when deployed (or sent to a User, in this case), notice on the right hand side, you get a way to deploy the Card whether in a Chat as a link or through a Flow.

    In this example, I’ll choose a Flow.

  8. Now, it’ll initialize a Flow template with necessary steps.

  9. When ready, it’ll give this template for me to complete the Flow.


    Now, in the next section, let’s continue to finish the Flow and send it to an actual user. (Myself 😊)

Sending a Power Apps Card to Teams Chat

Now, let’s work on our Flow to be ready to run –

  1. First step is to Initialize the Card itself with an instance of the Card. Here, we’ll select the Card we just created.

  2. In the second step, you can actually choose who should the Card go out as.

  3. Then, it as ask what should should it post into. I’ve selected Chat with Power Apps since I wanted it to as a personal chat.

  4. Finally, it also needs a recipient – I’ve selected myself here to test it out.

  5. Now, when I run the Flow, I receive a chat message from Power Apps like below –

  6. And it then runs the Card itself! When I click the button as configured, it’ll read the user and display the name.



    Here’s the result!

Hope this was useful!

Thank you!