Try our free Certificate Revocation List Check Tool
CRLcheck.exe a free tool to verify digital signatures of executable files. It collects files from known paths on your client,
checks their signature, and checks CRL and OCSP download.
Category published:  Intunes M365,AZURE,INTUNE   Click on the Category button to get more articles regarding that product.

Intunes / M365 compliance check rules warnings in several languages

Posted by admin on 25.09.2023

Intunes / M365 compliance policy check rules warnings in several languages

Error in Intunes:

“English locale must be specified”

Happens when:

You upload a JSON compliance rule in ONLY one non US language.




For the Compliance Checks in Intunes/M365 we did not find any info 09/2023 on microsoft.com on how to change the language of the alerts, which are shown to the enduser, could be changed to multiply languages.

https://learn.microsoft.com/en-us/mem/intune/protect/compliance-custom-json

If we want as example de_DE and en_US same message or different messages for the same rule entry:

Part which does that: One language JSON file and you upload that you get and error

“RemediationStrings”:[
{
“Language”:”de_DE”,
“Title”:”Wir supporten nur bestimmte Marken”,
“Description”: “Wir supporten nur bestimmte Hardware Marken.”
}
]

Multiple languages
, seperated (Yellow)

You allways have to include en_US if you want a NON US language

“RemediationStrings”: [
{
“Language”: “de_DE”,
“Title”: “Wir supporten nur bestimmte Marken”,
“Description”: “Wir supporten nur bestimmte Hardware Marken.”
},
{
“Language”: “en_US”,
“Title”: “We support only specific brands”,
“Description”: “We support only specific hardware brands.”
}
]

If you just pick as example german (Just a non us code) you get an error.

So you ALLWAYS have to include the en_US and then your add. language.


Microsoft told us that they will change the Learn instructions and include this sample on our request.

https://techcommunity.microsoft.com/t5/intune-customer-success/support-tip-learn-how-to-simplify-json-file-creation-for-custom/bc-p/3936934/emcs_t/S2h8ZW1haWx8bWVudGlvbl9zdWJzY3JpcHRpb258TE1ZVU5IUEVONU9BVDN8MzkzNjkzNHxBVF9NRU5USU9OU3xoSw#M4738


 Category published:  Intunes M365,AZURE,INTUNE   Click on the Category button to get more articles regarding that product.