# VS Code - Issues with all 3 Dynatrace extensions - SSO authentication :: Please advise

**URL:** <https://community.dynatrace.com/t/vs-code-issues-with-all-3-dynatrace-extensions-sso-authentication-please-advise/49807>\
**Category:** Developer Q&A Forum\
**Created:** [January 18, 2025, 12:04am UTC](https://community.dynatrace.com/t/vs-code-issues-with-all-3-dynatrace-extensions-sso-authentication-please-advise/49807 "2025-01-18T00:04:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![chris\_cho](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chris_cho/32/23527_2.png) [@chris\_cho](https://community.dynatrace.com/u/chris_cho)\
**Post date:** [January 18, 2025, 12:04am UTC](https://community.dynatrace.com/t/vs-code-issues-with-all-3-dynatrace-extensions-sso-authentication-please-advise/49807/1 "2025-01-18T00:04:53Z")

</div>

Hello,

I am experiencing authentication/connection issue working in VS Code using the Dynatrace extensions.  
I will split these issues in two sections:

1. [Dynatrace Apps] & [Dynatrace Debug] extensions
2. [Dynatrace Extensions] extension

1. [Dynatrace Apps] & [Dynatrace Debug] extensions :: Issues  
- Workstation with **Windows 11**  
- installed successfully the extension **[Dynatrace Apps] v 0.27.0**  
- I am using **nodejs v20.12.2**  
- attempted to create a Dynatrace custom app  
**npx dt-app create --environment-url \<apps dynatrace url\>**

after entering the app name I am getting the exception message:

_✖ Searching for template repositories…_  
_Error: App Toolkit is not able to fetch the app templates from GitHub._  
_To be able to create an app, App Toolkit needs to have access to read the app templates from [GitHub - Dynatrace/dt-app-templates: Dynatrace App Bundle Templates · GitHub](https://github.com/Dynatrace/dt-app-templates)_

- downloaded the templates from [main] branch, [GitHub - Dynatrace/dt-app-templates: Dynatrace App Bundle Templates · GitHub](https://github.com/Dynatrace/dt-app-templates), and used the settings from _ **Templates\Default** _ folder  
- executed the **npm install** command, to install the dependencies  
- launched the app server by using

**npx dt-app dev**

I got this message:

_✖ Authenticating…_  
_Error: SSO-URL for ‘\<apps dynatrace url\>’ could not be processed._  
_self-signed certificate in certificate chain_  
_If you need further assistance visit the connectivity troubleshooting guide here: [Troubleshoot connectivity | Dynatrace Developer](https://dt-url.net/c4jp0s12)_

- Set the environment variable:&nbsp; **$ENV:NODE\_TLS\_REJECT\_UNAUTHORIZED=“0”**  
- launched locally the application

**npx dt-app dev**

and the app server finally started on local, but with the following warning and message:

_(node:34416) Warning: Setting the NODE\_TLS\_REJECT\_UNAUTHORIZED environment variable to ‘0’ makes TLS connections and HTTPS requests insecure by disabling certificate verification._  
_(Use `node --trace-warnings …` to show where the warning was created)_  
_DT-APP: Started local development server_  
_DT-APP: Authenticate with Dynatrace SSO_

The dependencies package update fails, too:  
**npx dt-app update**

 ![chris_cho_0-1737165305879.png](https://global.discourse-cdn.com/dynatrace/original/3X/a/3/a38d7975ed03401523b5bd58e11f179cc09eaefb.png)

However, in VS Code status bar I see _**[Dynatrace] Not Authenticated**_.  
Clicking on it, a dialog box is opened asking to authenticate to SSO  
Clicking on [Allow] button, it doesn’t do anything, no exceptions, no messages, no logs.

 ![chris_cho_0-1737162352619.png](https://global.discourse-cdn.com/dynatrace/original/2X/a/a5ce35986edd300d4dd89b5acba93a840910c896.png)

By using the extension [Dynatrace Debugger] I am experiencing similar authentication SSO issues.  
Trying to login through SSO, in the web browser, I am getting back the message

_Couldn’t log you in_

 ![chris_cho_1-1737162372064.png](https://global.discourse-cdn.com/dynatrace/original/3X/1/8/18cc446dd6bf6160a5841345dc4170f84ebf4af0.png)

Even trying to create and use .dql files I am asked to authenticate using SSO. Same it doesn’t work.  
I would like to know what the source of all these issues would be, creating and starting a simple app, which is advertised as being done in 5 minutes. Personally, it took days.

2. [Dynatrace Extensions] extension :: Issues

- installed the VS Code extension **[Dynatrace Extensions] 2.6.5**  
- initially, I was able to configure the environment and initialed the workspace, generating the required certifications.  
- I was able to see the defined Dynatrace extensions

I got a new workstation, and wanted to configure the VS Code extension [Dynatrace Extensions]  
Started adding an environment providing the URL \<apps dynatrace url\>.  
After pressing the [Enter] key, I got the messages.

_unable to get local issuer certificate_  
_The environment URL entered is not reachable._

 ![chris_cho_2-1737159761521.png](https://global.discourse-cdn.com/dynatrace/original/2X/b/b9a3b2ce8332ade32f4dc635d6efb0a4a6036f93.png)

On the other hand, checking again on the old workstation, I noticed that I cannot use the existing extensions Dynatrace Extensions, getting the notification.

_ **No response from server \<apps dynatrace url\>** _

 ![chris_cho_3-1737157414045.png](https://global.discourse-cdn.com/dynatrace/original/2X/4/4e1f643f8eae4bb45162f96a561dbb4781311213.png)

Anyway, in the end out of the blue, I got the new workstation working with [Dynatrace Extensions].

 ![chris_cho_5-1737158226807.png](https://global.discourse-cdn.com/dynatrace/original/2X/e/e8804b785c43a6835fd8ff107ae9a51923c9383f.png)

Currently, both application and [Dynatrace Extensions] are working on my new workstation.  
Please let me know, if there are any aspects, I have missed setting up my Dynatrace development environment.  
Sorry if this message got quite large. I wanted to provide all the details in one message, instead of splitting it through more messages.

Thank you

---

<div class="post-metadata">

**Author:** ![christian\_k](https://avatars.discourse-cdn.com/v4/letter/c/9f8e36/32.png) [@christian\_k](https://community.dynatrace.com/u/christian_k)\
**Post date:** [January 26, 2025, 9:02pm UTC](https://community.dynatrace.com/t/vs-code-issues-with-all-3-dynatrace-extensions-sso-authentication-please-advise/49807/2 "2025-01-26T21:02:44Z")

</div>

[@StefanW](https://community.dynatrace.com/user/75507)&nbsp;can you please have a look at this topic and see if you have an idea what causes the error with our VS Code Extension?

---

<div class="post-metadata">

**Author:** ![StefanW](https://avatars.discourse-cdn.com/v4/letter/s/f9ae1b/32.png) [@StefanW](https://community.dynatrace.com/u/StefanW)\
**Post date:** [January 27, 2025, 7:06am UTC](https://community.dynatrace.com/t/vs-code-issues-with-all-3-dynatrace-extensions-sso-authentication-please-advise/49807/3 "2025-01-27T07:06:40Z")

</div>

Hey&nbsp;[@christian\_k](https://community.dynatrace.com/user/47351), I think you linked the wrong Stefan.

---

<div class="post-metadata">

**Author:** ![christian\_k](https://avatars.discourse-cdn.com/v4/letter/c/9f8e36/32.png) [@christian\_k](https://community.dynatrace.com/u/christian_k)\
**Post date:** [January 27, 2025, 7:18am UTC](https://community.dynatrace.com/t/vs-code-issues-with-all-3-dynatrace-extensions-sso-authentication-please-advise/49807/4 "2025-01-27T07:18:33Z")

</div>

I’m sorry, and you’re right. That’s the downside of our cryptic user names here&nbsp;:wink:

---

<div class="post-metadata">

**Author:** ![s\_wasserbauer](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/s_wasserbauer/32/3811_2.png) [@s\_wasserbauer](https://community.dynatrace.com/u/s_wasserbauer)\
**Post date:** [January 27, 2025, 7:34am UTC](https://community.dynatrace.com/t/vs-code-issues-with-all-3-dynatrace-extensions-sso-authentication-please-advise/49807/5 "2025-01-27T07:34:16Z")

</div>

Hi&nbsp;[@chris\_cho](https://community.dynatrace.com/user/84142)&nbsp;!  
Did you run through the [connectivity troubleshooting](https://developer.dynatrace.com/develop/troubleshoot/troubleshoot-connectivity/)? Please, check the guide first for error messages you get when running the troubleshooting guide. Can you post the error messages here please?
