Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi all,
I'm running into an issue when refreshing a dataset with another user account.
The connection is set to use another user account, the dataset is in a workspace in a Teams team.
Side info: The dataset is using an on-premise Gateway.
What I've tried so far:
The result I'm getting in my Flow is:
Input (unformatted) | { |
Output (unformatted) | { |
From what I understand from the error code "401" and message "GroupsNotEnabled" this may point to a missing license for the end user, but in Admin center, I see the user has a "PowerBI Pro" license associated with the account.
Any further ideas?
Hello Rico, thanks for your answer.
The new account is a cloud-only account thats domain is @mycompany365.onmicrosoft.com, while my account ends in @mycompany.tld.
For my Flow I used the built-in method "New action" -> "Refresh Dataset" while pointing the connector to my reporting user account, instead of my own account. See below screenshot.
Is your new account in the same organization as your old account?
New account should look like xxx@ABC.com and old account looks like zzz@ABC.com .
401 - Unauthorized error seems related to request credentials.
For reference:401 Unauthorized - HTTP | MDN (mozilla.org)
Did you use Rest API to refresh your dataset?
For reference: Datasets - Refresh Dataset In Group
Please check whether your App have Dataset.ReadWrite.All permission.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
2 | |
2 | |
1 | |
1 |
User | Count |
---|---|
22 | |
2 | |
2 | |
2 | |
2 |