FortiSOAR Knowledge Base
FortiSOAR: Security Orchestration and Response software provides innovative case management, automation, and orchestration. It pulls together all of an organization's tools, helps unify operations, and reduce alert fatigue, context switching, and the mean time to respond to incidents.
jhimanshu
Staff
Staff
Article Id 308431
Description This article describes how to resolve the error 'Not allowed to access a Non-IPM folder'.
Scope FortiSOAR and Exchange Integration.
Solution Users may encounter a 'Not allowed to access Non-IPM folder for the exchange connector action 'Get Unread Mail' when triggering the default ingestion playbook.


Error.png


Perform the below modifications from the FortiSOAR CLI and verify the execution for Exchange,

 

  1. cd /opt/cyops/configs/integrations/packages/lib/python3.9/site-packages/exchangelib/services/
  2. Take a backup of the original file:         ...(cp get_folder.py get_folder.py.bckp).
  3. Edit the get_folder.py file:                     ...(vi get_folder.py).
  4. Replace the get_folder.py file content with the attached get_folder.py file content.
  5. Restart the uwsgi service:                   ...(systemctl restart uwsgi)

Take a VM Snapshot of the Instance before making any changes from the backend.

 

Note:

If replacing the file instead of modifying, make sure to change the file ownership: '...(chown fsr-integrations: get_folder.py)'.