How to grant model permission to role

FH-4576 40 Reputation points

I use a tabular model.

I need to grant model permission to one role.

Can I use a TSQL statement to do it like Sql server Admin grants permissions?


SQL Server Analysis Services
SQL Server Analysis Services
A Microsoft online analytical data engine used in decision support and business analytics, providing the analytical data for business reports and client applications such as Power BI, Excel, Reporting Services reports, and other data visualization tools.
1,256 questions
0 comments No comments
{count} votes

Accepted answer
  1. PercyTang-MSFT 12,426 Reputation points Microsoft Vendor

    Hi @FH-4576

    Actually, you can use SQL Server Management Studio (SSMS) to manage roles and permissions for a tabular model.

    You can refer to this.

    Best regards,

    Percy Tang

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Olaf Helper 42,386 Reputation points

    T-SQL is for the relational database.

    For SSAS tabular you can use TMSL = Tabular Model Scripting Language

    For roles see

    0 comments No comments