web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Access Data from Power...
Power Apps
Unanswered

Access Data from PowerApps Common Data Service (Dataverse) in PowerShell

(0) ShareShare
ReportReport
Posted on by 7

I'm trying to find a way to manipulate the data in a common data service table in PowerApps using PowerShell. I've looked into PowerShell support - Power Platform | Microsoft Docs, but that seems more related to creating apps, and that's not my goal. I've also looked into Use PowerShell cmdlets for XRM tooling to connect to Microsoft Dataverse (Dataverse) - Power Apps | ..., but I can't find any way to manipulate the data through that once I'm connected. Does anyone have advice?

I have the same question (0)
  • Verified answer
    ChrisPiasecki Profile Picture
    6,422 Most Valuable Professional on at

    Hi @dtietze ,

     

    You have a couple of options:

    1. You can try the Microsoft.Xrm.Data.PowerShell open source module which has native cmdlets to interact with the data. 
      https://github.com/seanmcne/Microsoft.Xrm.Data.PowerShell 
    2. You can use the XrmTooling PowerShell module that you've downloaded. You would use the CrmServiceClient object to perform actions such as Create/read/update/delete or make Web API calls directly. This will be be more lower level programming than the former so it will give you more control, but will require a level of comfort with programming. https://docs.microsoft.com/en-us/powerapps/developer/data-platform/xrm-tooling/use-xrm-tooling-execute-actions

     

    ---
    Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

  • EricRegnier Profile Picture
    8,720 Most Valuable Professional on at

    Hi @dtietze,

    Here are also samples to manipulate Dataverse/CDS with PowerShell: https://github.com/ericregnier/power-platform-powershell-helpers

    Cheers 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard