Table list command. Solves #3653#3684
Conversation
|
@pnp/cli-for-microsoft-365-maintainers Can I get a few insights before we merge this PR, the current approach is a method in a new Dynamics Base class. Check one do we feel this should be a method like this, or should we go more for |
|
@appieschot we should consider moving the Dynamics instance URL retrieval to a util (we don't have one for PP so we'd create it). That way the method will be available to all the code in the CLI instead of only Dataverse commands. |
|
Should be good now, tests working so ready for review. Please do see the first message around permissions :) |
martinlingstuyl
left a comment
There was a problem hiding this comment.
Hi Albert, I added some minor comments, but nothing serious. Great work, almost there! 🤙
|
Hi @appieschot, the build is failing since your latest changes. Could you please look into that? |
|
@martinlingstuyl and here I was promised that as maintainer we would fix the barrel fix that was implemented by Waldek ;-). But I will give it a shot |
|
Mmm, guess my rebase game is not that strong as I now have all commits in |
Are you live on teams? |
Tests still missing
eb2b61a to
fa5645d
Compare
martinlingstuyl
left a comment
There was a problem hiding this comment.
We're almost there. One last comment 🤙
|
Dynamics permissions added to our AAD app reg @appieschot |
|
All eyes on @martinlingstuyl to make sure we tackle / agree on the last comment 🚀 |
|
You mean the try catch in the command class. That's correct indeed. In that case it's fine as it is! I'll approve it and merge it Monday. |
|
⚡Merged manually, thank you 🤙 |
How to test
Create a new Azure AD App registration that you can use with the CLI for Microsoft. Provide this app the at least:
user_impersonation(to access Power Apps API)user_impersonation(to access Dynamics)AllSites.FullControlto read tenant admin siteUse this new App Registration to sign in to the CLI
m365 login --appId yourAppId --tenant yourTenantIdThen you should be able to run this command :)
This can only go live with support from @waldekmastykarz as he can change our App Registration to include the Dynamics CRM -
user_impersonationpermission that is currently not yet available in the CLI App Registration