Archive
Power Platform | ‘Security group’ is mandatory to create a new Environment
While creating a Environment on my new Power Platform tenant, I noticed a subtle change.
Following are the steps to create a new Environment.
- From Power Platform admin center, clicked on ‘+New’.
- In the ‘New environment’ pane, provided ‘Name’ and ‘Type’ as below and clicked on ‘Next’.
- In the next section, the ‘save’ button was disabled, which was not the case earlier.
- The reason is, ‘Security group‘ is a mandatory field to create a new Environment.
- Even if you don’t have a predefined Security group, you need to select the ‘Open access’ as shown below.
- Once you select the ‘Open access’ option, you should be able to create the Environment.
🙂
[Beginners] Power Platform | Tenant vs Environment
Most of the beginners, gets confused between a Tenant and Environment in Power Platform. Lets understand the differences and learn how to manually fetch ‘Tenant Id’ and ‘Environment Id’.
What is Tenant:
- A Tenant is the overall organization or instance of Power Platform that a user belongs to.
- It can be thought of as a container for all the environments, users, and data associated with an organization.
- A tenant has a unique domain name, such as myorganization.crm.dynamics.com.
What is an Environment:
- Environment is a space to store, manage, and share your organization’s business data, apps, chatbots, and flows.
How an Environment is different than Tenant:
- A Tenant is the overall organization or instance of Power Platform.
- An Environment is a separate space within a Tenant.
- Multiple environments can exist within a single tenant, and each environment can be customized independently of others.
How to manually fetch ‘Tenant ID’ and ‘Environment ID’:
The ‘Tenant ID’ is assigned to a tenant when it is created. It is generated by Microsoft and cannot be changed. To fetch ‘Tenant ID’ and ‘Environment ID’ in ‘Power Platform’
- Login to Power Apps maker portal.
- Select the desired ‘Environment’ from ‘Environment’ dropdown.
- Select the Settings icon and click on ‘Session Details’.
- From the ‘Power Apps session details’ popup, copy ‘Tenant ID’ and ‘Environment ID’.
🙂
[PowerApps Portal (preview)] Build your first portal
PowerApps Portals, provides ability to build low-code, responsive websites which allow external users to interact with the data stored in the Common Data Service.
Refer article for introduction. PowerApps Portals are in Preview now and lets see how to get started with a simple portal.
Perquisites:
- Dynamics 365Â trail
Steps to build your first Portal:
- Login to PowerApps maker Portal
- Pick the right ‘Environment’. Refer ‘Notes’ section below to know more about ‘Environments’.
- Click on ‘Portal from blank (preview)’ link.
- In the pop-up, fill ‘Name’, ‘Address’ and ‘Language’ and click ‘Create’.
- Portal provisioning takes time and you will be notified once done.
- Post provisioning, click on ‘Edit’ which will redirect you to Portal editor.
- You get pre configured ‘Home’ page and ‘Child Pages’.
- To add a new Page,
- Either click on ‘+New page’ from ribbon
- Or Right Click , ‘Home’ and add a New Page.
- I have added a new ‘Accounts’ page and filled the details on the right side ‘Component’ panel.
- To create a new ‘Account’ form, click on ‘Form’ and choose Entity, Form and Mode from the ‘Component’ panel.
- To add a new ‘Entity List’ control, click on ‘List’ and on the right hand side, select ‘Entity’ and ‘Views’
- Note: In the screen below, I’ve added an existing ‘List’. The properties are same for new ‘List’ as well.
- To map the Account ‘Form’ with ‘List’, set properties as below
- At any point of time, to view the changes, click on ‘Browse website’ on top right corner.
- Home Screen
- Accounts Screen
Notes:
- To use the Dynamics CE entities, you have to select the CE ‘Environment’ in your maker portal, before the start of Portal creation.
- A ‘default’ environment gets created by default. If you pick ‘default’ environment, you will need to create a new Environment with CDS database.

New Environment
- We can still create Portal from the ‘Dynamics Admin Center’.
- PowerApps portal got ‘.powerappsportals.com’ as domain and regular portal will be of ‘.microsoftportals.com’ domain.
- You can still create/update portal components (i.e., Entity List, Forms, Web Templates) from Dynamics web application.
- Clear cache using ‘/_service\about‘ is still available in PowerApps portal.
🙂