0
Published

The Changes Activity PowerShell script fails with a Denied error

Curtis Lusmore 2 years ago • updated by anonymous 2 years ago 1

Description

When attempting to run the ConfigureEventBrokerChangesActivity.ps1 script when installing the MIM Event Broker Changes Activity, the script fails. The Requests section of the MIM Portal reveals a Denied error has occurred.

Affected Software

  • MIM Event Broker
  • MIM Event Broker Changes Activity
  • MIM Portal

Symptom

When attempting to run the PowerShell script, the following error appears in the script window:

Import-FIMConfig : Failure when making web service call.
SourceObjectID = dc42094d-0f86-4035-8a98-38b3520669c9
Error = Microsoft.ResourceManagement.WebServices.Client.PermissionDeniedException: Policy prohibits the request from co
mpleting. ---> Microsoft.ResourceManagement.WebServices.Faults.ServiceFaultException: Policy prohibits the request from
 completing.
   at Microsoft.ResourceManagement.WebServices.ResourceFactoryClient.Create(Message request)
   at Microsoft.ResourceManagement.WebServices.ResourceFactoryClient.Create(Create createBody)
   at Microsoft.ResourceManagement.WebServices.Client.ResourceTemplate.CreateResource()
   --- End of inner exception stack trace ---
   at Microsoft.ResourceManagement.WebServices.Client.ResourceTemplate.CreateResource()
   at Microsoft.ResourceManagement.WebServices.ResourceManager.CreateResource()
   at Microsoft.ResourceManagement.Automation.ImportConfig.Create(String objectType, List`1 changeList)
   at Microsoft.ResourceManagement.Automation.ImportConfig.EndProcessing()
At C:\Program Files\UNIFY Solutions\Event Broker\Portal Workflow\ConfigureEventBrokerChangesActivity.ps1:67 char:27
+ $fimAIC | Import-FIMConfig <<<<
    + CategoryInfo          : InvalidOperation: (:) [Import-FIMConfig], InvalidOperationException
    + FullyQualifiedErrorId : ImportConfig,Microsoft.ResourceManagement.Automation.ImportConfig
        

A similar error message appears in the MIM Portal itself under the Requests section.

Resolution

This error is due to the MPR configuration of the Portal preventing the addition of a new Activity Information Configuration. Refer to information on configuring the Activity Information Configuration (AIC) here, or consult your MIM Portal administrator.