HTML Field Security still not available

Anonymous
2022-05-10T21:28:03+00:00

Referring to following rather old question:

HTML Field Security still not available - Microsoft Community

I followed all instruction, but still not luck. I'm not only the site owner with full control, but also the Azure administrator. So my access privileges shouldn't be an issue.

Microsoft 365 and Office | SharePoint | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes

6 answers

Sort by: Most helpful
  1. Anonymous
    2022-05-11T03:46:32+00:00

    Hello Matthias,

    As I understand you do not have HTML Field Security option in Site Collection Administration. May I know if there are any other actions you need a support with?

    As you mentioned you followed the instructions we’d like to confirm if you enabled Custom Script section and set “Allow users to run custom script on personal site” and “Allow users to run custom script on self-service created sites” options in SharePoint Admin Center.

    Or enabled it with PowerShell command Set-SPOsite <SiteURL> -DenyAddAndCustomizePages 0

    For better understanding the source of this issue, we kindly ask you to provide more information:

    1. Can you please check if you are able to access HTML Field Security via the URL

    https://[TenantName].sharepoint.com**/sites/yourgroupsitename/**_layouts/15/HtmlFieldSecurity.aspx 

    OR

    https://[TenantName].sharepoint.com/_layouts/15/HtmlFieldSecurity.aspx 

    1. Please share the screenshot of your Site Settings page and any other error messages you receive.
    2. Does this issue apply to all SharePoint sites or only the specific ones?

    Best Regards,

    Igor

    0 comments No comments
  2. Anonymous
    2022-05-11T13:08:06+00:00

    "As I understand you do not have HTML Field Security option in Site Collection Administration"

    I have the option and I set it according to the instructions. However, it has zero effect.

    "As you mentioned you followed the instructions we’d like to confirm if you enabled Custom Script section and set “Allow users to run custom script on personal site” and “Allow users to run custom script on self-service created sites” options in SharePoint Admin Center."

    Confirmed, I have set these options accordingly.

    "enabled it with PowerShell command Set-SPOsite <SiteURL> -DenyAddAndCustomizePages 0"

    Confirmed, I did that too.

    The rest of the information requested fill follow soon.

    0 comments No comments
  3. Anonymous
    2022-05-11T18:56:56+00:00

    Point 1) As already stated, I have access to it and I have added the domains I want to allow...

    Sharepoint Admin Centre settings...

    Image

    I used the SharePoint Online Management Shell to push following command:

    Image

    This is the iframe I want to insert:

    <iframe
    src="https://bookonlineiframe.ese-edu.com/booking.aspx"
    width="1600"
    height="1300"
    frameborder="0"
    >
    </iframe>

    The error I get:

    Image

    Point 3) I did not try in any other Sharepoint site then ************.sharepoint.com. I have nowhere else the requirement for the time being.

         ***[PII is removed by moderator]***
    
    0 comments No comments
  4. Anonymous
    2022-05-12T03:54:38+00:00

    Hello Matthias,

    We apologize for this misunderstanding and thank you for coming back to us and clarifying the scenario.

    As I understand you are facing an issue with embedding iframe despite HTML Field Security setting allows iframes from this domain.

    We have tested the described behavior, but wo couldn’t reproduce the same behavior on our side.

    To narrow down the source of this issue, please try the further troubleshooting:

    • In HTML Security Field select Allow contributors to insert iframes from any domain and check the result.
    • To check if SharePoint site has the restrictions, please try to embed iframe from any other domain, for example google.
    • If it is possible, please create a new test SharePoint site and embed iframe there.
    • May I know if you changed HTML Security Field settings on a site level or a page level?

    We know the initial suggestions may not always resolve the problem, so we kindly ask you to post back to us and share your results so we can do our best to provide a proper support. Thank you for understanding.

    Best Regards,

    Igor

    0 comments No comments
  5. Anonymous
    2022-05-12T10:12:35+00:00
    • In HTML Security Field select Allow contributors to insert iframes from any domain and check the result.

    SAME ERROR

    • To check if SharePoint site has the restrictions, please try to embed iframe from any other domain, for example google.

    SAME ERROR

    • If it is possible, please create a new test SharePoint site and embed iframe there.

    SAME ERROR

    • May I know if you changed HTML Security Field settings on a site level or a page level?

    SITE LEVEL - how would you set or change page level security?

    0 comments No comments