Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Get-PnPFlow Times Out after 100 Seconds #3794

Closed
5 tasks
cprovpo opened this issue Feb 27, 2024 · 6 comments · Fixed by #3820
Closed
5 tasks

[BUG] Get-PnPFlow Times Out after 100 Seconds #3794

cprovpo opened this issue Feb 27, 2024 · 6 comments · Fixed by #3820
Labels
bug Something isn't working

Comments

@cprovpo
Copy link

cprovpo commented Feb 27, 2024

Reporting an Issue or Missing Feature

Get-PnPFlow cmdlet times out after 100 seconds.

Expected behavior

The command should return a list of Power Automate flows from the tenant.

Actual behavior

Issue occurred on multiple environments, with and without the -AsAdmin switch passed.
image

Steps to reproduce behavior

Connect-PnPOnline -Url $spAdminUrl -Interactive
Get-PnPFlow
Get-PnPFlow -AsAdmin

What is the version of the Cmdlet module you are running?

2.3.69 (updated after experiencing this bug

Which operating system/environment are you running PnP PowerShell on?

  • [ X ] Windows
  • Linux
  • MacOS
  • Azure Cloud Shell
  • Azure Functions
  • Other : please specify
@cprovpo cprovpo added the bug Something isn't working label Feb 27, 2024
@cprovpo
Copy link
Author

cprovpo commented Feb 28, 2024

It appears that this was previously raised as a discussion here: #1871

@pkbullock
Copy link
Contributor

I too am seeing the same error when when running Get-PnPFlow in a windows terminal, PS7 prompt, version 2.3.66

@jackpoz jackpoz mentioned this issue Mar 8, 2024
3 tasks
@jackpoz
Copy link
Contributor

jackpoz commented Mar 8, 2024

I opened a PR at #3820 to fix the issue, if you want to give it a try.

@gautamdsheth
Copy link
Collaborator

Should be fixed with tomorrow’s nightly builds .

@renewtx
Copy link

renewtx commented Mar 14, 2024

Hello -- I was able to install the pre-release locally (on my machine) and it did appear to fix the issue -- Thank You! However, I have a question (a couple actually):

  1. Any idea when the next full release will be available that will fix this?
  2. I was hoping to use this via an Azure Runbook -- do you know if there is a way to install/deploy these pre-release versions for use in Azure Runbooks?

Thanks

@renewtx
Copy link

renewtx commented Mar 20, 2024

For what it's worth, I figured it out (maybe this will help someone else in a similar situation). I installed the needed (updated) module locally on my laptop under PowerShell v7. Once installed, I found the module locally under C:\Users\UserName\Documents\PowerShell\Modules\PnP.PowerShell. I then zipped that folder using the same file name as the module name. Then I removed the previous version of the module from my Azure Runbook modules and replaced it by importing the ZIP file I created as the replacement for PnP.PowerShell. Now I am able to run my runbook without encountering the 100s HTTP timeout error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants