Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
In case anyone else stumbles upon this and finds it helpful: I got this error today when creating a new anti-spam inbound policy because the description I was trying to add was too long. FYI the description limit is 256 characters.
The only reason I know this was the cause is because after I got the generic "An error occurred when creating the policy" message several times in a row, despite trying different options/settings, I created a test policy (successfully) and left it super blank/generic with the intention of trying to edit it after creation. When I went to edit the test policy and add the description, only then did it gave a different error about the description being too long.