Forum Discussion
Anonymous
4 years agoNot applicable
401 - Unauthorized error during Dataset Refresh with a reporting user
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...
Anonymous
4 years agoNot applicable
Hi Anonymous
Is your new account in the same organization as your old account?
New account should look like [email protected] and old account looks like [email protected] .
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.