Forum Discussion
Error Syncing Notebooks from Microsoft Fabric UI to VS Code
HI SergioTorrinha,
In fact, the above thoughts are based on the error code instead of official document.
AFAIK, the HTTP 401 Unauthorized client error status response code indicates that the request has not been applied because it lacks valid authentication credentials for the target resource.
Since this error is related to the credentials and you also mentioned is switch between two accounts. So I will ask you to confirm the credential reasons during these operations at first (e.g. oauth token, session and local file cache) and tried to host them to different work folders to prevent the confit issue.
When you directly switch account on the device with cache file and active sessions, they may confit the sign in operations to the new account. (it used the cache data to quickly sign-in instead of use new credentials that you provide at the second time and obviously they will cause the authorization credential issues)
Regards,
Xiaoxin Sheng
Hi Anonymous !
I don't know if you had the oportunity to read my notes below, but I just would like to add something I have found in the meanwhile and that I think it might be related to this syncing issue:
it turns out that I am also not able to log in to PBI desktop with the same account that I have issues in vscode - more specifically, when I try to log in PBI desktop I am redirected to a brower webpage where its says 'Your organisation doesn't currently allow its users to purchase Microsoft Fabric free. Contact your IT admin for more information.'.
What does this mean exactly? Below is a print of the messaage I get:
So, I wonder, if it's possible, that some admin setting is turned or or off that might trigger this behaviour? To note that I am not the adim of the tenant so I cannot test things in that regard, hence I would apretiate your thoughts on it.
Looking forward to your input.
Thank you.
- Anonymous1 year agoNot applicable
Hi SergioTorrinha,
I'd like to suggest you take a look at the following document about block self-service usage if it suitable to your scenarios:
About self-service sign-ups and purchases - Power BI | Microsoft Learn
BTW, you can also check if they enabled the device protect about azure account usages:
Regards,
Xiaoxin Sheng
- SergioTorrinha1 year ago
Resolver II
Hi Anonymous,
Thanks for the input!
I will definitly check this interanally.- Anonymous1 year agoNot applicable
Hi SergioTorrinha ,
Any update on this? Did the above suggestions help with your scenario?
Regards,
Xiaoxin Sheng