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.
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.
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