In this blog of DynamicsCommunity101 we will learn How to get Power Platform Environment ID | PPAC
Sign in to the Power Platform Admin Center at Link
Navigate to the "Environments" section in the left navigation pane.
Click on the environment for which you want the ID.
The Environment ID is displayed in the URL in your browser's address bar, and it may also be visible in the environment details pane.
Look for a GUID (Globally Unique Identifier), which is a 36-character string with digits and dashes. This is the Environment ID you're seeking.