π Bug report: Grant API permissions action works but presents error
Opened this issue Β· 4 comments
β Priority
(Medium)π’ I'm annoyed but I'll live
π Describe the bug
the grant API permission action seems to be failing with some cryptic error message
even though it seems to work properly
I did some investigation and it seems CLI for Microsoft 365 is failing when running m365 spfx project permissions grant
So in order to fix this issue we should first open a bug in CLI for Microsoft 365 and have it fixed there as well. After it will get fixed in that repo we should align our commonjs CLI copy and restest
π£ Steps To Reproduce
just run Grant API permissions
on any SPFx project
π Expected behavior
should grant permissions, this works, but shouldn't present any error message
π· Screenshots
added above
βSharePoint Framework Toolkit version
3.3.0
βNode.js version
18.18.2
π€ Additional context
No response
Let me look into this issue. Also, I will create a bug report in the CLI repo if one doesn't already exist.
Let me look into this issue. Also, I will create a bug report in the CLI repo if one doesn't already exist.
All yours.
No the bug on CLI repo still doesn't exist. I didn't have time to add it yet
still doesn't exist
actually, it does. pnp/cli-microsoft365#5889
still doesn't exist
actually, it does. pnp/cli-microsoft365#5889
AAA awesome, I didn't notice that one. Sorry it is just to much for me sometimes π. Now let's resolve it on CLI side and then we may update the CJS version of CLI and it should 'just' work here π