17 Jun 2026 09:36 AM
Hello Folks,
I want to copy a custom extension build from one tenant to another. What are the available ways to do that?
I tried using Dynatrace Extensions: Build in Visual Studio Code, but it produced the following error:
{
"error": [
"'dt-sdk' is not recognized as an internal or external command,",
"operable program or batch file.",
""
],
"detailedOutput": [
"+"
]
}Regards,
AK
Solved! Go to Solution.
17 Jun 2026 09:58 AM
@AK ,
If you have the ZIP extension file, just upload it to the new tenant. Don't forget to setup the certificate files, as I'm assuming it's a custom extension of course.
17 Jun 2026 01:19 PM
@AntonioSousaThank you for your response. Unfortunately, I don’t have the ZIP extension — it was co-developed with Dynatrace support.
Regards,
AK
17 Jun 2026 01:32 PM
You probably need to install dt-extensions-sdk first.
https://dynatrace-extensions.github.io/dt-extensions-python-sdk/guides/installation.html
17 Jun 2026 03:18 PM
@rastislav_danis I've installed it and can confirm it's present, yet I'm still getting the same error.
18 Jun 2026 06:52 AM - edited 18 Jun 2026 06:54 AM
just guessing, but have you tried launching dt-sdk from vscode terminal? is path to this command included in path variable?
18 Jun 2026 03:59 PM
Thanks @rastislav_danis, adding dt-sdk PATH to variable worked
22 Jun 2026 06:46 AM
I think you should familiarize yourself with Python virtual environments and how they work. A good starting point is this guide: https://realpython.com/python-virtual-environments-a-primer/. (TLDR)
Alternatively, you can ask your AI assistant to explain virtual environments and help you use them correctly. I can see that you already have one set up in your project.
Featured Posts