Friday, July 15, 2011

FIM Service RequestStatus – What Are All the Possible Values?

I’m writing a small function to tell me when a FIM Request has completed, so need to know the possible status values of a FIM Request.  Some digging around in Visual Studio using Class View unearthed an Enum for this in the FIM DLL.

The PowerShell one-liner below will display all the possible Request status values (called RequestStatusType).

 

001
[Enum]::GetNames([Microsoft.ResourceManagement.WebServices.WSResourceManagement.RequestStatusType])

Below are the results of the one-liner, showing all the possible FIM Request status values.  HINT: the highlighted ones represent a FIM Request is that is done (can’t reach any other status).

  • Denied
  • Validating
  • Canceling
  • Validated
  • Authenticating
  • Authenticated
  • Authorizing
  • Authorized
  • Failed
  • Canceled
  • Committed
  • CanceledPostProcessing
  • PostProcessing
  • PostProcessingError
  • Completed
  • NotFound

No comments: