Showing results for 
Search instead for 
Did you mean: 
Resolver I
Resolver I

CSS files access


in my portal is using this themes options:


This works as expected and all files are loaded, while a contact with web role "Administrators" is logged in or not logged in.

So files exist and are readable.
Located under https:/portaldomain/bootstrap.min.css


When a normal user logged in, CSS files not found (HTTP error 404), because looked for in


Why? And more important: How to fix?






Super User II
Super User II



I actually think the why is very important here, but I don't have the answer.

Any .css files are loaded by default from the Portals, and the normal bootstrap should be available for logged in users as well.

My suggestion would be opening a Support Ticket with MS so they can investigate what might be happening


A few things you can check is:

  • clear the cache
  • try in multiple browsers / in-private sessions
  • restart portals via Admin Center -->
    • be careful cause there is a restart and a reset.. what you want here is the first option in the Portal Actions (restart).. this will just to an Azure App Service restart and won't delete any configuration data



If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.


If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Power Apps Portals Super User

Oliver Rodrigues



Hi @AndKanPA,

Have you changed the bootstrap.min.css file or added customizations for external frameworks/libraries? From what I can tell, the default file (older version) doesn't reference a map file and I've typically only seen this when working with AngularJS for Dynamics Marketing applications.

I modified only the default font size in bootstrap.css
No framework .
I added an additional CSS file.

It works for admins, but users get wrong referenced files.


Cache or not, it makes no sense at all - for me.



Seems, this issue depends on page template.

"Home" uses template "Blank page", all files are loaded correctly.
Another page uses my self created page template and not all CSS are loaded.

Simple, but not nice solution: 

<link rel="stylesheet" type="text/css" href="/bootstrap.min.css">


added into page template.

So I have to change my question: How to integrate customized page template in portal theme?




Hi @AndKanPA,

All CSS files are applied automatically - I'm starting to wonder if this isn't a new product bug, due to another issue being raised in this forum. Some tips to keep in mind:

  1. Files should be named & partial URL should end in ".css"
  2. Files will apply to the page you make the Parent Page and all of its Child Pages - if its global, make the Parent Page "Home"
  3. Make sure the Publishing State is Published and the Display Order is appropriate

I assume all 3 have been followed and suggest you reach out to Microsoft.

Hi @AndKanPA 


can you please share your template where you are seeing this issue. I am assuming when you click on browse and go to portal page, that time you are seeing this issue.  It will be helpful if you can share step by step details to repro this issue. 



Neeraj Nandwana

But I see now, it works without this workaround.

It fixes itself ... no idea why or what happens.


I dont find any .map in source code anymore.




Helpful resources

PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (2,941)