You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, in our spo properybag set command, we check if a site has NoScript enabled, and throw an error if it does.
However, as explained in 6458 this restriction can be lifted if you configure a tenant-wide property.
I'm thinking we should remove the thrown error, so that the command can just be executed. If it is a NoScript site, and the setting has not been configured, it will throw an error anyway. But that's okay I guess.
I'm talking about this code in propertybag-set.ts:
// Check if web no script enabled or not// Cannot set property bag value if no script is enabledconstisNoScriptSite=awaitthis.isNoScriptSite(identityResp,args.options,logger);if(isNoScriptSite){throw'Site has NoScript enabled, and setting property bag values is not supported';}
The text was updated successfully, but these errors were encountered:
Error: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
So that's not very clear. Should we show a warning above or below the error? Something like It might be that NoScript is enabled and the property bag has not been enabled to function on NoScript sites.
The downside is that we'd need a lot of explanatory text, while the error might not be due to NoScript at all.
Currently, in our spo properybag set command, we check if a site has NoScript enabled, and throw an error if it does.
However, as explained in 6458 this restriction can be lifted if you configure a tenant-wide property.
I'm thinking we should remove the thrown error, so that the command can just be executed. If it is a NoScript site, and the setting has not been configured, it will throw an error anyway. But that's okay I guess.
I'm talking about this code in propertybag-set.ts:
The text was updated successfully, but these errors were encountered: