[SalesForce] Error: Unknown user permission: ViewPlatformEvents

How do I get this permission in my sandbox?
It's causing errors in Jenkins deployments because it exists in all our developer sandboxes, but not in the developer pro sandbox where we are all integrating our changes into.

I found this question below, but the answers are not very satisfying (not helping me)
Unknown User Permission(s): ManageSandboxes & ViewPlatformEvents

All sandboxes have the same API version, the same packages installed, don't have any platform events configured.

Best Answer

Enable Forensics permission on Event Monitoring setting This solved the issue for us

Related Topic