Skip to content

[FEATURE] Review/lower required permission for the Azure server to user database level(no master) #857

@TrudAX

Description

@TrudAX

Which component(s) does this affect?

  • Full Dashboard
  • Lite
  • SQL collection scripts
  • Installer
  • Documentation

Problem Statement

Thanks for the tool. I tried to run it (Lite version) for Microsoft Dynamics 365 FO, and currently, it seems the tool requires a full connection to the server itself rather than just to the database.
The issue is that Microsoft provides only a connection to the user database(with full admin rights)
This connection(that they provide) allows viewing TOP queries, deadlocks etc.. if used in the Management Studio

They allow only exec sp_set_database_firewall_rule for the user DB , but not for the master database

But if run your Lite version, it gives that error
Image

and the screen is empty

Image

But I can view TOP queries in Management Studio without master DB access using the same computer/credentials

Image

Proposed Solution

Review queries that are really needed for master DB access and that require only user DB access.
Execute some queries and provide results without master DB access

Use Case

Monitor Databases without require full access to the server. Mostly related to Microsoft D365FO ERP.

I can help in testing if needed

Alternatives Considered

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions