I have MacBooks and iMacs (both M-series and Intel) ranging from macOS 12.3 up to 14.3. We have lab computers and do not want students signing with Apple IDs or using the App Store. I've created a Restrictions config profile with both "Apple ID Preference Pane" and "App Store" disabled. I login with a local admin or standard account and it will show it locked down (sweet!). Then you close system preferences/settings then re-open it, and there is the ability to login, as if the configuration profile isn't even there. Reboot and do it again, then its back to restricted... then not. This is clearly broken. The App Store also opens right up every time...
So what's the fix?