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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Powershell Script runs...
Power Automate
Unanswered

Powershell Script runs from PyCharm But Not from Power Automate Desktop

(0) ShareShare
ReportReport
Posted on by 431

$env:LOGIN_EMAIL = "xxx@xxx.com"
$env:LOGIN_PASSWORD = "xxx"
$env:PAT = "xxxxx"
$pythonPath = "%pathPython%"
$scriptPath = "%pathScript%"
$pipPath = "%pathPip%"
$propertyUrl ="https://xxx.com/xxx"
$searchTerm = "xxx"
$streetAddress = "xxx"
$cityStateZip = "xxx"


# Execute the Python script with the URL as an argument
& $pythonPath $scriptPath $propertyUrl $searchTerm $streetAddress $cityStateZip

# Output a message indicating the script ran
Write-Host "Script ran"

I have the same question (0)
  • VishnuReddy1997 Profile Picture
    2,666 Super User 2026 Season 1 on at

    Hi @Steve48 ,

     

    Can you ellabrote what error your getting.

     

    Regards,

    Vishnu Reddy

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 273 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 149 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 144 Super User 2026 Season 2

Last 30 days Overall leaderboard