-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EnvrionmentCredential Error in VS code with logic apps only #6149
Comments
Any update on this? We are facing the same error. We were previously able to deploy to logic app via VScode. |
Hi @ksks200 I have reached out to the owners of the package library that we use for the Authentication. As for now I haven't had a replied yet, but I just pinged them today for an update. Do you see any errors in the console? As a workaround you can downgrade the vscode extension version to 4.107.3. |
i am facing the same issue. Following is the error in the console 2:51:21 PM: Error: EnvironmentCredential is unavailable. No underlying credential could be used. To troubleshoot, visit https://aka.ms/azsdk/js/identity/environmentcredential/troubleshoot. |
Having the same issue, I already uninstalled VSCode and reinstalled but have the same issue, if I roll back to an older version of the extension, it works. [2024-12-04T17:05:24.125Z] Incoming HTTP request ends with server failure: correlationId='1804aa8c-94c7-430d-8a87-fe226423ff49', authorizationSource='Management', authorizationAction='', operationName='POST/API/MANAGEMENT/OPERATIONGROUPS/OPERATIONS/DYNAMICINVOKE', httpMethod='POST', hostName='localhost', targetUri='http://localhost:8000/runtime/webhooks/workflow/api/management/operationGroups/xmlOperations/operations/getSchemaArtifacts/dynamicInvoke?api-version=2018-11-01', userAgent='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Code/1.95.3 Chrome/128.0.6613.186 Electron/32.2.1 Safari/537.36', clientRequestId='', clientSessionId='', clientIpAddress='', clientApplicationId='', apiVersion='2018-11-01', contentLength='-1', serviceRequestId=':1804aa8c-94c7-430d-8a87-fe226423ff49', durationInMilliseconds='0', httpStatusCode='503', exceptionMessage='', errorCode='', failureCause='Service', errorMessage='', referer='', commandName='', parameterSetName='', contentType='application/json; charset=utf-8', contentEncoding='', armServiceRequestId='', organizationId='', activityVector='IN', locale='en-US', additionalProperties='{"ParentActivityId":"00-505465be23d1cf51974da953bd6c4ffa-9e40956e43582b95-00"}', targetResourceProvider='', targetResourceType='', extensionVersion='1.94.13.0', siteName='UNDEFINED_SITE_NAME', slotName='', activityId='1804aa8c-94c7-430d-8a87-fe226423ff49'. |
I have created a PR to get the fix for this issue. However, due to the deployment freeze we are not able to release an updated version of the extension until early next year. Please download the private vsix from link below if you face this issue. You could follow this guide to install the extension from a vsix. |
Does this occur consistently?
Repro steps:
The expectation is for the deployment to work. It is a fairly simple logic app with not many configurations.
I have reinstalled, restarted everything. Same behavior each time.
Action: azureLogicAppsStandard.createLogicAppAdvanced
Error type: Error
Error Message: Error in creating logic app. Error: Operation cancelled.
Version: 4.107.4
OS: win32
OS Release: 10.0.22631
Product: Visual Studio Code
Product Version: 1.95.3
Language: en
The text was updated successfully, but these errors were encountered: