Forum Discussion
Service principal, managing on premise gateways
Hi juhokunnari ,
Please review the content in the following threads, hope they can help you.
DMTS_DatasourceAccessRightIsNotSupportedError when trying to grant SPN account access to gateway (last post)
Service principal with Power BI and Data Gateway
Best Regards
The first thread you linked points to instructions https://docs.microsoft.com/en-us/rest/api/power-bi/gateways/adddatasourceuser#example-for-giving-readoverrideeffectiveidentity-access-right-to-a-service-principal which quite clearly states "example for giving ReadOverrideEffectiveIdentity access right to a service principal". So in theory it should work but in practice you will face an DMTS error.
Is this something that is an known issue and will be fixed? Otherwise those instructions are quite misleading and should be modified.