Skip to content

Bug report: 403 forbidden on Flow Export #2091

@m-carter1

Description

@m-carter1

Description

When running m365 flow export --environment [env] --id [id] I get the error "Error: Request failed with status code 403"

Running the command with --format json does work however.

If I grab the access token and run the command in postman I get same error but with more information:

{"error":{"code":"AuthorizationFailed","message":"The client certificate 'DF4D2C02B7F733BB44849D827A5BC6AFA11B316C' is not allowed."}}

Steps to reproduce

Export a flow with

m365 flow export --environment [env] --id [id]

Expected result

Success with a zip exported

Actual result

403

Environment

windows 10
m365 version: v3.4.0
node.js v14.15.4

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions