We are delighted to share our new EIC Delivery Methodology for efficiently managing Saviynt Implementations and delivering quick time to value. CLICK HERE.

AAD Group removing owner results to error

Tommil
New Contributor III
New Contributor III

Hello,

I'm not able to remove any AAD Group owners from Saviynt. When I navigate to Home -> Manage AAD Groups -> Edit Role -> Role Owners and try to remove one of the role owners I receive following error:

Tommil_0-1686564007026.png
The URL is like this: 
/ECM/roles/removeOwnerFromRole/?rolekey=14&ownerKey=42_1&manage=1&savmodule=ars&version=1

Any ideas why I'm not able to remove AAD Group owner?

Best regards,

Tommi L

3 REPLIES 3

rushikeshvartak
All-Star
All-Star

Share logz


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Tommil
New Contributor III
New Contributor III

Hello,

Here is some error details from the logs:

 

2023-06-12T15:11:46+03:00-ecm-2023-06-12T12:11:45.973464456Z stdout F 2023-06-12 12:11:45,973 [http-nio-8080-exec-2] INFO services.UsersService - Auditing for list of Roles
 
2023-06-12T15:11:46+03:00-ecm-2023-06-12T12:11:45.980982723Z stdout F 2023-06-12 12:11:45,980 [http-nio-8080-exec-2] INFO services.UsersService - Auditing process completed for entitlement
 
2023-06-12T15:11:46+03:00-ecm-2023-06-12T12:11:46.019903251Z stdout F 2023-06-12 12:11:46,019 [http-nio-8080-exec-2] ERROR errors.GrailsExceptionResolver - NumberFormatException occurred when processing request: [GET] /ECM/roles/removeOwnerFromRole/
 
2023-06-12T15:11:46+03:00-ecm-2023-06-12T12:11:46.019928851Z stdout F For input string: "". Stacktrace follows:
 
2023-06-12T15:11:46+03:00-ecm-2023-06-12T12:11:46.019933151Z stdout F java.lang.NumberFormatException: For input string: ""
 
2023-06-12T15:11:46+03:00-ecm-2023-06-12T12:11:46.019936651Z stdout F at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
 
2023-06-12T15:11:46+03:00-ecm-2023-06-12T12:11:46.019939251Z stdout F at java.lang.Long.parseLong(Long.java:601)
 
2023-06-12T15:11:46+03:00-ecm-2023-06-12T12:11:46.019941651Z stdout F at java.lang.Long.<init>(Long.java:965)
 
2023-06-12T15:11:46+03:00-ecm-2023-06-12T12:11:46.019944551Z stdout F at com.saviynt.ecm.services.RoleversionService.removeOwnerFromRole(RoleversionService.groovy:4572)
 
2023-06-12T15:11:46+03:00-ecm-2023-06-12T12:11:46.019947451Z stdout F at com.saviynt.ecm.identitywarehouse.controllers.RolesController$_closure187.doCall(RolesController.groovy:8815)
 
2023-06-12T15:11:46+03:00-ecm-2023-06-12T12:11:46.019950251Z stdout F at grails.plugin.springsecurity.web.filter.GrailsAnonymousAuthenticationFilter.doFilter(GrailsAnonymousAuthenticationFilter.java:53)
 
2023-06-12T15:11:46+03:00-ecm-2023-06-12T12:11:46.019952651Z stdout F at com.saviynt.webservice.SaviyntRestAuthenticationFilter.doFilter(SaviyntRestAuthenticationFilter.groovy:135)
 
2023-06-12T15:11:46+03:00-ecm-2023-06-12T12:11:46.019955051Z stdout F at grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter.doFilter(MutableLogoutFilter.java:62)
 
2023-06-12T15:11:46+03:00-ecm-2023-06-12T12:11:46.019957651Z stdout F at grails.plugin.springsecurity.web.SecurityRequestHolderFilter.doFilter(SecurityRequestHolderFilter.java:59)
 
2023-06-12T15:11:46+03:00-ecm-2023-06-12T12:11:46.019978451Z stdout F at com.mrhaki.grails.plugin.xframeoptions.web.XFrameOptionsFilter.doFilterInternal(XFrameOptionsFilter.java:69)
 
2023-06-12T15:11:46+03:00-ecm-2023-06-12T12:11:46.019983851Z stdout F at com.brandseye.cors.CorsFilter.doFilter(CorsFilter.java:82)
 
2023-06-12T15:11:46+03:00-ecm-2023-06-12T12:11:46.019988151Z stdout F at java.lang.Thread.run(Thread.java:750)
 
2023-06-12T15:11:46+03:00-ecm-2023-06-12T12:11:46.056553589Z stdout F 2023-06-12 12:11:46,056 [http-nio-8080-exec-2] ERROR error.ErrorController - Exception
 
2023-06-12T15:11:46+03:00-ecm-2023-06-12T12:11:46.056573589Z stdout F org.codehaus.groovy.grails.web.errors.GrailsWrappedRuntimeException: For input string: ""
 
2023-06-12T15:11:46+03:00-ecm-2023-06-12T12:11:46.056578389Z stdout F at grails.plugin.springsecurity.web.filter.GrailsAnonymousAuthenticationFilter.doFilter(GrailsAnonymousAuthenticationFilter.java:53)
 
2023-06-12T15:11:46+03:00-ecm-2023-06-12T12:11:46.056581989Z stdout F at com.saviynt.webservice.SaviyntRestAuthenticationFilter.doFilter(SaviyntRestAuthenticationFilter.groovy:135)
 
2023-06-12T15:11:46+03:00-ecm-2023-06-12T12:11:46.056584789Z stdout F at grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter.doFilter(MutableLogoutFilter.java:62)
 
2023-06-12T15:11:46+03:00-ecm-2023-06-12T12:11:46.056587289Z stdout F at grails.plugin.springsecurity.web.SecurityRequestHolderFilter.doFilter(SecurityRequestHolderFilter.java:59)
 
2023-06-12T15:11:46+03:00-ecm-2023-06-12T12:11:46.056589689Z stdout F at com.mrhaki.grails.plugin.xframeoptions.web.XFrameOptionsFilter.doFilterInternal(XFrameOptionsFilter.java:69)
 
2023-06-12T15:11:46+03:00-ecm-2023-06-12T12:11:46.056592589Z stdout F at com.brandseye.cors.CorsFilter.doFilter(CorsFilter.java:82)
 
2023-06-12T15:11:46+03:00-ecm-2023-06-12T12:11:46.056594989Z stdout F at java.lang.Thread.run(Thread.java:750)
 
2023-06-12T15:11:46+03:00-ecm-2023-06-12T12:11:46.056597389Z stdout F Caused by: java.lang.NumberFormatException: For input string: ""
 
2023-06-12T15:11:46+03:00-ecm-2023-06-12T12:11:46.056599789Z stdout F at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
 
2023-06-12T15:11:46+03:00-ecm-2023-06-12T12:11:46.056602189Z stdout F at java.lang.Long.parseLong(Long.java:601)
 
2023-06-12T15:11:46+03:00-ecm-2023-06-12T12:11:46.056604489Z stdout F at java.lang.Long.<init>(Long.java:965)
 
2023-06-12T15:11:46+03:00-ecm-2023-06-12T12:11:46.056606889Z stdout F at com.saviynt.ecm.services.RoleversionService.removeOwnerFromRole(RoleversionService.groovy:4572)
 
2023-06-12T15:11:46+03:00-ecm-2023-06-12T12:11:46.056609289Z stdout F at com.saviynt.ecm.identitywarehouse.controllers.RolesController$_closure187.doCall(RolesController.groovy:8815)
 
Best regards,
Tommi

Tommil
New Contributor III
New Contributor III

There was some issue with the workflows and changing the workflow got this fixed.