AnsweredAssumed Answered

DAG StealthAudit with Sharepoint integration error

Question asked by shakti nayak on Jun 25, 2019

Hello,

 

we are trying to run stealthaudit jobs for sharepoint server and getting the below errors as apart of SPAA_System Scan job.

1.

Failed to process site collection https://km.company.com. System.NullReferenceException: Object reference not set to an instance of an object.
   at Stealthbits.StealthAUDIT.DataCollectors.SPAA.Tasks.Scan.SharePointAccess.StorePermission(SPMember spPrincipal, SPBasePermissions basePermissions, SPRoleAssignmentCollection roleCollections, ScanItemContext context)
   at Stealthbits.StealthAUDIT.DataCollectors.SPAA.Tasks.Scan.SharePointAccess.StorePermissions(SPPermissionCollection permissions, SPRoleAssignmentCollection roleCollections, ScanItemContext context)
   at Stealthbits.StealthAUDIT.DataCollectors.SPAA.Tasks.Scan.SharePointAccess.AddWebPermissions(SPWeb web, ScanItemContext context)
   at Stealthbits.StealthAUDIT.DataCollectors.SPAA.Tasks.Scan.SharePointAccess.ProcessSecurableObject[TObject](TObject obj, ScanItemContext context, AddResourcePermissions`1 addResourcePermissions)
   at Stealthbits.StealthAUDIT.DataCollectors.SPAA.Tasks.Scan.SharePointAccess.<ProcessSiteCollection>b__19(SPSite spSite, ScanItemContext itemContext, AddResourcePermissions`1 permissions)
   at Stealthbits.StealthAUDIT.DataCollectors.SPAA.Tasks.Scan.SharePointAccess.ProcessSharePointObject[TObject](TObject obj, ScanItemContext context, Func`4 addResource, ProcessSecurableObjectDelegate`1 processSecurableObject, ProcessChildObjectsDelegate`1 processChildObjects, AddResourcePermissions`1 addResourcePermissions, ResourceType Resourcetype, Func`1 cancelled)
   at Stealthbits.StealthAUDIT.DataCollectors.SPAA.Tasks.Scan.SharePointAccess.ProcessSiteCollection(SPSite site, ScanItemContext context)
   
   
   
   
   ====================================================================================================================
   System.ArgumentException: Requested value 'DeveloperSiteDraftApps' was not found.
   at System.Enum.EnumResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument)
   at System.Enum.TryParseEnum(Type enumType, String value, Boolean ignoreCase, EnumResult& parseResult)
   at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)
   at Stealthbits.SharePoint.SPList..ctor(SPWeb web, _sList sList, Func`1 taskAbort)
   at Stealthbits.SharePoint.SPServices.<>c__DisplayClass47.<GetLists>b__45(_sList sList)
   at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
   at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
   at Stealthbits.SharePoint.SPServices.GetLists(SPWeb web, Func`1 taskAbort)
   at Stealthbits.SharePoint.SPListCollection.InitLists()
   at Stealthbits.SharePoint.SPListCollection.get_Count()
   at Stealthbits.SharePoint.SPBaseCollection.SPEnumerator.System.Collections.IEnumerator.MoveNext()
   at System.Linq.Enumerable.<CastIterator>d__97`1.MoveNext()
   at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source)
   at Stealthbits.StealthAUDIT.DataCollectors.SPAA.Tasks.Scan.SharePointAccess.ProcessChildCollection[TObject,TChild](TObject parentObj, ScanItemContext parentContext, Func`3 getChildObject, ProcessObject`1 processChildObject, Func`2 getChildren, Func`4 addChildResource, Func`2 getChildResources, ResourceType Resourcetype, Func`1 cancelled)

 

 

Has anybody faced any similar error while integrating sharepoint with stealthAudit?

Any possible reolutions/solutions.

Outcomes