Showing results for 
Search instead for 
Did you mean: 
New Member

PowerApps Portals ability to have custom domain on root

Customers would like the ability to assign their root domain to their PowerApps portals - www is so old school!


Typically this would require an A record, which would not be ideal as the IP Addresses will vary within Microsoft's environment.


DNS services such as CloudFlare (and others) have a solution called CNAME flattening, where they serve a dynamic A record to the standard DNS resolution, but in the background it is configured to a CNAME such as This works perfectly with other sites I have used it on.


Unfortunately PowerApps Portals custom domain config will only allow you to configure this with a direct CNAME record, so when you try to configure the root domain, it will not resolve, and therefore not allow you to configure it. CNAMEs on the root domain are unsupported under RFC, however CNAME flattening resolves this limitation.


Portals should allow you to either:

a) add a domain without CNAME validation (perhaps an override option) OR

b) detect CNAME flattening and validate domains accordingly


The first option is probably more practical, as CNAME flattening is not easily detected from the DNS records.


Without this, it is technically impossible to serve a PowerApps portal at the domain root - as many clients require - meaning we end up having to put them on www with a redirect from the root domain, which is not ideal.


Many clients are now looking to use PowerApps portals as their primary websites - due in part to the great feature set and seamless integration with PowerApps/Dynamics 365.  Now they want their domain root to resolve to them.


Helpful resources

PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!


Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Users online (83,637)