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: Bad Request (400) #3640

Closed
PTI-AKapsch opened this issue Dec 18, 2023 · 3 comments · Fixed by #3677
Closed

[BUG] Get-PnPFlow: Bad Request (400) #3640

PTI-AKapsch opened this issue Dec 18, 2023 · 3 comments · Fixed by #3677
Assignees
Labels
bug Something isn't working

Comments

@PTI-AKapsch
Copy link

Hi. I tried running the Get-PnPFlow command today, and it looks like it is calling a deprecated API. It spits out Get-PnPFlow: Bad Request (400): Calling Power Automate through ARM is no longer supported. Please use "https://api.flow.microsoft.com/ instead.

I pulled the address from GetFlow.cs and tried it in Postman, and I received the same result.

Ironically, it appears the API it refers to is being deprecated, so this may be relevant.

@PTI-AKapsch PTI-AKapsch added the bug Something isn't working label Dec 18, 2023
@siddharth-vaghasia
Copy link
Contributor

hi @gautamdsheth @KoenZomers - please assign this to me, I have found fix for this based as same was fixed in M365 cli few days back..

@KoenZomers
Copy link
Collaborator

@siddharth-vaghasia Done, thanks for your help!

@gautamdsheth
Copy link
Collaborator

@PTI-AKapsch - this has been fixed now. It will be available in tomorrow's nightly builds as well as the next major version.

Thanks for raising the issue and thanks @siddharth-vaghasia for fixing it.

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.

4 participants