# Unified access gateway extension migration to 2.0 VMWare

**URL:** <https://community.dynatrace.com/t/unified-access-gateway-extension-migration-to-2-0-vmware/44730>\
**Category:** Extensions\
**Tags:** extensions, vmware\
**Created:** [March 18, 2024, 5:00pm UTC](https://community.dynatrace.com/t/unified-access-gateway-extension-migration-to-2-0-vmware/44730 "2024-03-18T17:00:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![AK](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/ak/32/164_2.png) [@AK](https://community.dynatrace.com/u/AK)\
**Post date:** [March 18, 2024, 5:00pm UTC](https://community.dynatrace.com/t/unified-access-gateway-extension-migration-to-2-0-vmware/44730/1 "2024-03-18T17:00:15Z")

</div>

Hi Folks,

Can I get guidance for migrating for UAG plugin to 2.0 version.

Need help to get started, any documentation you can point me to would be helpful.

Regards,

AK

---

<div class="post-metadata">

**Author:** ![Mike\_L](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mike_l/32/11717_2.png) [@Mike\_L](https://community.dynatrace.com/u/Mike_L)\
**Post date:** [March 19, 2024, 11:09am UTC](https://community.dynatrace.com/t/unified-access-gateway-extension-migration-to-2-0-vmware/44730/2 "2024-03-19T11:09:42Z")

</div>

Hi,

If you want to do it yourself these are the two best resources:

[![](https://global.discourse-cdn.com/dynatrace/original/3X/4/a/4a8546834fc026e364ebaf650fcf05634c74e6ad.jpeg "A Practical Guide to Building Python Based Extensions with Dynatrace") ](https://www.youtube.com/watch?v=g-lPIZx66BA)

> **[Migrating EF1 Extensions — dt-sdk 1.0.0 documentation](https://dynatrace-extensions.github.io/dt-extensions-python-sdk/guides/migration.html)**

You can also reach out to our services department for an engagement.

---

<div class="post-metadata">

**Author:** ![AK](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/ak/32/164_2.png) [@AK](https://community.dynatrace.com/u/AK)\
**Post date:** [March 24, 2024, 5:09pm UTC](https://community.dynatrace.com/t/unified-access-gateway-extension-migration-to-2-0-vmware/44730/3 "2024-03-24T17:09:24Z")

</div>

Hi&nbsp;[@Mike\_L](https://community.dynatrace.com/user/11520),

Thank you for the response.

I imported remote extension from the environment, it shows just one file ‘activationSchema.json’

 ![AK_0-1711298402721.png](https://global.discourse-cdn.com/dynatrace/original/2X/0/01ec20968092ce1c6bb463f622b62132e86e32c3.png)

I’m stuck at&nbsp;“[Modify the extension code](https://dynatrace-extensions.github.io/dt-extensions-python-sdk/guides/migration.html#modify-the-extension-code)”, it says,

1. Move your existing extension code to the&nbsp; **\_\_main\_\_.py** &nbsp;file of the new extension.
2. The easiest way to accomplish this is by pasting the code from your existing extension class into the new&nbsp; **ExtensionImpl** &nbsp;class.

Where do I get ‘\_\_main\_\_.py’? and when it says “_pasting a code from your existing extension class into the new&nbsp;ExtensionImpl&nbsp;class_”, how this can be done?Please guide me more in this case, steps in document are not clear.

Regards,

AK

---

<div class="post-metadata">

**Author:** ![Mike\_L](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mike_l/32/11717_2.png) [@Mike\_L](https://community.dynatrace.com/u/Mike_L)\
**Post date:** [March 24, 2024, 11:53pm UTC](https://community.dynatrace.com/t/unified-access-gateway-extension-migration-to-2-0-vmware/44730/4 "2024-03-24T23:53:02Z")

</div>

On earlier steps when it showed the initialization of a new workspace for Python then it should have created the main and init files already into the workspace.

Maybe try re-running those steps.
