Need Help: Firefox SSO Setup Using Intune with Preferences and Policies"

I need help in applying Firefox settings through Intune to enable Windows Single Sign-On (SSO) for Microsoft, work, and school accounts. i need two changes as below
- About:config setting
Create the preference:
network.automatic-ntlm-auth.trusted-uris
Set value to:
"xyz.com, abc.com"
- Enterprise policy configuration via JSON
{
"policies": {
"WindowsSSO": true,
"Authentication": {
"SPNEGO": ["https://xyz.com", "https://abc.com"]
}
}
}
My questions:
Can both the about:config preference and the enterprise policy settings be applied using a single JSON or ps1 script through Intune?
Or do they need to be managed separately (one via preference, one via enterprise policy)?
What’s the best way to deplo
y this via Intune? If someone can share one script to deploy the same, would be great.
Thanks in advance!