We have some site map subarea components which consist of 3rd party url like power apps/power bi, So based on environment I need to show or hide those components in the site map. Those urls are passed using html web resources individually in the site map subarea component.
E.g I need to hide some subarea component in QA instance which are visible in Dev instance. Please let me know if anyone worked on such functionality ?