Problem:
While saving changes in AGPM (Advanced Group Policy Management) you get errors like
Failed to write production GPO permissions for this domain.
The following error occurred:
Access to the path ‘D:\AGPM\Archive\gpostate.xml’ is denied.
System.UnauthorizedAccessException (80070005)
Reason:
The error is not generated by your current user but from the service AGPM ist running on
Solution
Findout what user the AGPM Service is running as and give the user rights on the folders where the file mentioned in the error message is placed.