Forum Discussion
Different UPN when embedding with powerbi.load vs powerbi.embed
- Anonymous5 years ago
HI Anonymous,
Did you mean the embed content uses the user that generates embed token to authorization instead of 'master users' credentials?
If that is the case, have you saving multiple user credentials on your devices? If that is the case, I'd like to suggest your test with private mode or remove these cached data before the test.
BTW, you can also try to use service principal mode to do embed operation, it should be better than master user mode.
Xiaoxin Sheng
HI Anonymous,
Did you mean the embed content uses the user that generates embed token to authorization instead of 'master users' credentials?
If that is the case, have you saving multiple user credentials on your devices? If that is the case, I'd like to suggest your test with private mode or remove these cached data before the test.
BTW, you can also try to use service principal mode to do embed operation, it should be better than master user mode.
Xiaoxin Sheng
- Anonymous5 years agoNot applicable
Thank you so much! Authenticating with a service principal did resolve the issue when using .load(). I'll accept this as the solution.
Is service principal mode the preferred/recommended to authenticate for embedding operations?
Regards,
~Andrew