Thank you for choosing Microsoft Community.
The “Edit in Visual Studio Code” option being disabled in Power Pages Studio for the Microsoft US Government Cloud is a known limitation. This feature is not available in Government Community Cloud (GCC), Government Community Cloud (GCC High), and Department of Defense (DoD) environments. Users in these regions must use the Portals Management app for editing code.
Here are some steps you can take to work around this limitation:
Use the Portals Management App:
Since the “Edit in VS Code” feature is unavailable, you can continue using the Portals Management app to manage and edit your site’s code.
Local Development with Power Platform CLI:
You can use the Power Platform CLI to download the portal content to your local machine, make changes using Visual Studio Code, and then upload the changes back to the portal.
This approach allows you to leverage the full capabilities of Visual Studio Code for development.
Feedback and Support:
If this feature is critical for your development work, consider providing feedback to Microsoft through their support channels. This can help prioritize the feature for future updates in the Government Cloud environments.
If you need detailed guidance on using the Power Platform CLI for local development or any other assistance, feel free to ask!
If this fixes the issue, please mark as resolved to help others with find it.
Happy to help
Robu 1