How does VisualStudioCredential get set in Rider


I'm trying to work out how the VisualStudioCredential value gets set as part of the DefaultAzureCredential method.  In VS 2022 it looks like it gets set in the options screen (as per this DefaultAzureIdentity And Its Various Credential Types ( but i can't find a similar screen in Rider.  Is it just taking the setting from VS?


Hello Ross,

VisualStudioCredential suppose using VS login mechanism, like using MSDN account, which you can also use for login to Azure. There is no authentication for MS accounts in Rider right now.


Hi Ross Ellerington,

I found a workaround that worked for me. I installed the Azure Az Powershell module, this allowed me to use Rider with my app that uses DefaultAzureCredential. 

For more information on the module and signing in please see this article


Stephen Zura - thanks for the tip.  I'll give that a go


Glad to help! Let me know if you run into any issues with it.


Please sign in to leave a comment.