Forum Discussion
Sending external users as effective user ID
- 8 years ago
I got it working!!! But I must I had to create a mapping in PowerBI.com. Here is what I did.
- Created a john_example.com#EXT#@mydomain.com account in my on-prem Active Directory. This would be the shadow account for user [email protected]
- In PowerBI.com I went to the data source in settings, and clicked on map user names in the users settings. I then aded a replacement rule to replace @example.com with the shadow account string.
Boom! it worked :)
Bottom line is that SSAS -- at least on-prem, does NOT support external user IDs. I had to create a shadow account in my Active Directory to which the user gets mapped into.
Hi pmdci,
Is the test user(external) a B2B collaboration user in your organization? According to this documentation, the external users can be added with this feature should be B2B collaboration users that have been added to your organization.
In this sample, a B2B external user and a group are added to the Analyst role with Read permissions for the SalesBI database. Both the external user and group must be in same tenant Azure AD.
Reference:
https://docs.microsoft.com/en-us/azure/analysis-services/analysis-services-database-users
https://docs.microsoft.com/en-us/azure/active-directory/active-directory-b2b-what-is-azure-ad-b2b
In addition, have you tried the solution in this article to get Power BI RLS(SSAS Live) to work with external users? :smileyhappy:
Regards
Here is a tought. Perhaps a little far fetched...
I wonder if the Power BI gteway automatically forwards external users in the taxonomy of their correspondent shadow account in the AD -- even if not the AD in Azure (that is, an AD on prem). So for example if I log-in as [email protected], it effectively forwards john_example.com#EXT#@mydomain.com. So I have created this account in my local AD and I have added it into a role in a test tabular model. I'll revert back on my tests later on.
If it does not, then we'll develop a solution around shadow accounts.
- pmdci8 years agoAdvocate V
I got it working!!! But I must I had to create a mapping in PowerBI.com. Here is what I did.
- Created a john_example.com#EXT#@mydomain.com account in my on-prem Active Directory. This would be the shadow account for user [email protected]
- In PowerBI.com I went to the data source in settings, and clicked on map user names in the users settings. I then aded a replacement rule to replace @example.com with the shadow account string.
Boom! it worked :)
Bottom line is that SSAS -- at least on-prem, does NOT support external user IDs. I had to create a shadow account in my Active Directory to which the user gets mapped into.
- Anonymous7 years agoNot applicable
Hi - does this only work for Analysis Services? Or can we map external users to SQL Server on-prem, too?
- NirH_at_BITeam7 years agoFrequent Visitor
Hi,
Where is this mapping users reside. Can't seem to find it.
Can you pls. be more specific on where to define this mapping.
Thansk!
NH