Dynamics 365 Pen testing

Hey, I’m looking for some help in testing Dynamics 365. I have been looking for cmdlets to query the dynamics 365 using PowerShell to get the information about the configuration. I have doubts on which user role could do this, I’m not sure whether a read-only user can query using PowerShell.

Any inputs or suggestions helps me, please let me know if you have any idea on dynamics 365.