When working with GPOADmin, you may run into a problem where the deployment or import of a GPO or OU in GPOADmin gets interrupted with the following error:
Invalid sub status of 'None'.
Please contact technical support if you have had debug logging inside the GPOADmin Options available before the issue occurred. If you ran into the problem without debug logging enabled, enable debug logging now via the GPOADmin Options. Should you experience the issue again, please send the debug logs to technical support.
Workaround for SQL configuration store
The SQL command below must be run in SQL Management Studio targeted at the GPOAdmin database. If you are not using the default [GPOADmin] database name, change this to the correct name in the USE statement below. The GPOADmin GUID referenced in the command must be the GPOADmin GUID that can be seen by right-clicking on an item with this issue in the UI.
Note that this SQL will return the item to an available state before any approvals were done. After the script is completed, you will have to restart the approval and deployment process for any item whose state has been corrected.
Included a commented-out example where the clause shows how this should look.
----- Start SQL -----
USE [GPOADmin]
GO
UPDATE [dbo].[ObjectData]
SET [StatusID] = 1
, [SubStatusID] = 0
, [ApprovalStageIndex] = 0
, [ApprovalStageCount] = 0
, [ApprovalWorkflow] = NULL
, [TrusteeSID] = NULL
, [ApprovalRequesterSID] = NULL
, [ActionAuthenticationID] = NULL
, [IsDeploying] = 0
, [ApprovedByList] = NULL
WHERE [VersionControlID] = 'GPOADmin GUID Without Braces'
-- Example where clause: WHERE [VersionControlID] = 'b0b28b3c-97b8-489c-b436-4774716f0422' --
----- End SQL -----
Workaround for AD/LDS configuration store
You should now be able to work with the GPO again.