Solvedazure sdk for net [BUG] Enabling VisualStudioCodeCredential on macOS crashes dotnet
20 Answers
Share
Original✔️Accepted Answer
Why is this bug closed? This workaround breaks on Windows, it feels a bit crispy to add this to every project:
if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
{
defaultAzureCredentialOptions = new DefaultAzureCredentialOptions
{
ExcludeVisualStudioCredential = true,
ExcludeVisualStudioCodeCredential = true,
};
}
var secretClient = new SecretClient(keyVaultUri, new DefaultAzureCredential(defaultAzureCredentialOptions));
Related Issues:
12
azure sdk for net ClientServerCredential equivalent for simple apiKey authentication?
Here is my version of the ServiceClientCredentials for apiKey Is there support for swagger's concept...
3
azure sdk for net [BUG] Enabling VisualStudioCodeCredential on macOS crashes dotnet
Why is this bug closed? This workaround breaks on Windows it feels a bit crispy to add this to every...
96
sops Cannot decrypt with GPG 2.2.5 and SOPS 3.0.0
The problem suddenly re-occured.. I think it has to do with the gpg-agent For the moment this solved...
42
azure cli az aks list - No module named '_cffi_backend'
Same here Update: python3 -m pip install cffi fixed it for me. Command Ran: az aks list Fixed issue ...
38
azure cli zsh autocompletion on OSX/macOS
I also just encountered this Every time I launch my terminal I get the following error: /Users/blake...
33
azure quickstart templates resourceId() support for multi-segment sub-resources?
I think I figured this out: funny how none of the quick-start examples do this ...
27
azure cli 'az aks browse' doesn't work. Error listening on port 8001
Found a workaround Describe the bug This command used to work for me but not recently even after I r...
18
terraform provider azurerm key vault soft-delete causing failure when updating secrets or certificates
I'm seeing exactly the same issue key vault soft-delete causing failure when updating secrets and ce...
16
azure powershell 'az account get-access-token' equivalent in Azure PowerShell
Get-AzAccessToken is available in Az.Accounts 2.2.0 which will be released on Nov 17 please have a t...
14
terraform provider azurerm Azurerm_frontdoor with v2.24.0 breaks when azure frontdoor is edited in portal.
Same issue here but on another level: Error: flattening frontend_endpoint: ID was missing the frontD...
13
acs engine Pods are uanble to resolve DNS for any of Azure service or other external sites.
Here is a quick status update: There are two problems happening concurrently Is this a request for h...
13
terraform provider azurerm r/application_insights: support for the Workspace model
Until this is supported natively by terraform This issue was originally opened by @klainn as hashico...
13
azuredatastudio Connecting to remote SQL Server from Ubuntu 20.04
hello i am so happy to tell you that i have a solution i tested and works perfectly is a downgrade o...
13
pulumi Resource Adoption
I have a workaround until this feature is shipped While pondering #1654 ...
12
azure cli az ad app permission grant not working or usable as expected
az ad app permission admin-consent is the old way of granting all Application Permissions and Delega...
12
azure cli unable to update cli using homebrew
I ran brew reinstall python3 to fix this I tried to install the latest CLI from the docs: https://do...
11
azure cli DLL load failed while importing win32file: The specified module could not be found.
I was able to solve it by reinstalling pywin32 with a terminal Run as Administrator: Though the root...
11
terraform provider azurerm TF apply/plan have different constraints for "Consumption" tier for API Management
Looks like there's a bit more to this than just the capacity tier of zero Community Note Please vote...
10
terraform provider azurerm multi-tenant deployment using Azure shared image gallery via terraform
@nicethomaslearngit I was having the same issue as you and seem to have figured it out ...
9
azure cli [CloudShell] Error on every command run on Azure Cloud Shell: OSError: [Errno 30] Read-only file system
Yes This is autogenerated Please review and update as needed ...
7
azure cli az container create fails with AttributeError: 'ResourcesOperations' object has no attribute 'create_or_update'
Ubuntu hosted agents were updated to azure-cli 2.24.0 today Describe the bug Command Name az contain...
6
terraform provider azurerm Failed to destroy azurerm_key_vault and associated azurerm_key_vault_access_policy (30 minute timeout)
@katbyte given that you've just updated the CHANGELOG.md for the v2.50.0 release (b74f30f) and there...
6
terraform provider azurerm conflict between azurerm_subnet_route_table_association and azurerm_subnet route_table_id
hey @steve-hawkins As a workaround I use a lifecycle in azurerm_subnet : I don't know if this is the...
6
terraform provider azurerm Terraform loses access token and requires az login
At least update the error message from terraform to include the workaround using az account get-acce...
5
spark [BUG]: Trying to follow the "Getting Started" guide step by step
One temporary work-around to avoid seeing the spark temporary files error is to add the following tw...
3
acs engine The cluster-internal DNS server cannot be used from Windows containers
The DNS issue does not seem unique to Windows (#2999 #2880) as of a few days ago ...
3
caprover 502 Bad Gateway error with REST API
If you can reproduce the issue with an open source project I can look into it Hello! I really enjoy ...
3
terraform provider azurerm v1.0.0 checksum mismatch error
Hey @aoggz Thanks for opening this issue - apologies about this This was due to a re-release ...
3
pulumi Python Outputs to string do not work as documented
Thanks for the clarifications and feedback I agree we can definitely work toward making the document...
3
pulumi Grpc.Core.RpcException: "Failed to deserialize response message." when using "cert-manager.crds.yaml" for ConfigFile
Here is the draft of the forking plan: Fork protocolbuffers/protobuf to Pulumi org (done): https://g...
124
efcore No executable found matching command "dotnet-ef" even after adding CLI
I has this issue and like to share I want to Migrate my Database with Models I am using EF Core 2.0 ...
116
efcore UseSqlServer() method is missing from Microsoft.EntityFrameworkCore.SqlServer 1.1.1
Hm - try manually adding the using statement using Microsoft.EntityFrameworkCore; and building again...
99
omnisharp vscode v1.23.1 fails to load Unity project, worked with v1.23.0
The problem is that the new .NET Core 3.1 SDK isn't supported by any current Mono release ...
69
omnisharp vscode [fail]: OmniSharp.MSBuild.ProjectManager: Attemped to update project that is not loaded.
Thanks a bunch! This solved the issue for me Steps taken Download version 1.15.2 (see link above ...
63
xunit .NET Core tests produce no output
After some exploration I figured out an easy solution: dotnet test --logger:console;verbosity=detail...
60
efcore How to write DbFunction's translation?
@Kation You actually does not need so much of code to use JSON_VALUE function Based on documentation...
58
efcore Inheritance problem with DbContext subclasses requiring constructor to supply DbContextOptions<DerivedContext>
I was able to resolve this without a hack by providing a protected constructor that uses DbContextOp...
50
omnisharp vscode Debug Console window cannot accept Console.ReadLine() input during debugging
From @kieferrm on December 17 2016 14:50 The debug console is output only From @LiangZugeng on Decem...
50
efcore MissingMethodException: Method not found: 'Boolean Microsoft.EntityFrameworkCore.Migrations.IMigrationsModelDiffer.HasDifferences
@AmSmart just to clarify in the documentation that @ajcvickers mentioned it gives updated code for t...
47
efcore error NU1202: Package dotnet-ef 3.0.1 is not compatible with netcoreapp3.0
@bricelam Presumably the workaround for anyone hitting this is to install the 3.0.0 version explicit...
42
efcore Could not load System.Diagnostics.DiagnosticSource
Looks like this only occurs on Class Library projects targeting netcoreapp1.1 Could not load file or...
39
efcore EF7 (RC1) - Cannot Skip() and Take() in SQL Server 2008
@tobbylee1 This API now uses a nested closure pattern: I am aware that SQL Server 2012 and above has...
36
ImageSharp WebP Support
I am working on support for webp So far decoding of lossless images is almost done I will continue w...
33
efcore Problem with dotnet cli ef tools after upgrading to vs 2017 15.4.4 and november .net core rollup
I have the same predicament Error is occurring when running: dotnet ef migrations remove I was able ...
31
omnisharp vscode 'System' not found after update to dotnet core 3.0
I was able to resolve this issue by uninstalling mono via brew and letting omnisharp use the MSBuild...
31
omnisharp vscode Omnisharp can't find .NET SDK when open any C sharp project
Sometimes the Visual Studio warning will still persist even after installing the .NET SDK ...
29
efcore The instance of entity type cannot be tracked because another instance with the same key value for {'Id'} is already being tracked
Numerous issues I've been running into have one nasty root In a nutshell: I've learned the hard way ...
28
omnisharp vscode Debug multiple ASP.NET Core projects in Visual Studio Code
Try this also Moved from microsoft/vscode#25628 From @mdmoura VSCode Version: 1.11.2 OS Version: Win...
28
omnisharp vscode The SDK 'Microsoft.NET.Sdk.Web' specified could not be found.
Solved this problem by adding omnisharp.json with Was asked to create new issue on #2876 Environment...
28
efcore Cannot be tracked because another instance of this type with the same key is already being tracked
@rickco75 I had same issue and get rid of it by below: In your case it will be: var record2 = _conte...
Describe the bug
Since 1.2.0-preview2 (introduction of VIsualStudioCodeCredential), dotnet will crash when attempting to access a keyvault secret.
Microsoft.Identity.Client.Extensions.TraceSource Error: 0 : [MSAL.Extension][2020-08-19T02:32:50.9087760Z] SecKeychainFindGenericPassword, for serviceName Microsoft.Developer.IdentityService and accountName MSALCache
Status: '-25300'
Failed, item not found
Expected behavior
No crash.
Actual behavior (include Exception or Stack Trace)
dotnet crashes, report from console... and then Apple Problem Report...
To Reproduce
Steps to reproduce the behavior (include a code snippet, screenshot, or any additional information that might help us reproduce the issue)
Environment:
Azure.Identity 1.2.0-preview2 or later
.NET Core SDK (reflecting any global.json):
Version: 3.1.401
Commit: 39d17847db
Runtime Environment:
OS Name: Mac OS X
OS Version: 10.15
OS Platform: Darwin
RID: osx.10.15-x64
Base Path: /usr/local/share/dotnet/sdk/3.1.401/
Host (useful for support):
Version: 3.1.7
Commit: fcfdef8d6b
.NET Core SDKs installed:
3.1.301 [/usr/local/share/dotnet/sdk]
3.1.401 [/usr/local/share/dotnet/sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.1.9 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.2.7 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.9 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.2.7 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.0.1 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.5 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.7 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.0.5 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.9 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 2.2.7 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 3.0.1 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.5 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.7 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]