Skip to main content
NetApp Knowledgebase

WFA 5 workflow execution fails on disconnect user CIFS session

Views:
63
Visibility:
Public
Votes:
0
Category:
oncommand-workflow-automation-wfa
Specialty:
om
Last Updated:

Applies to

WFA 5.x

Issue

In workflows where you disconnect CIFS sessions for users via powershell the workflow fails

CLI

PS C:\powershell> close-nccifssession -SessionId 13404964290887995043
Close-NcCifsSession : Cannot bind parameter 'SessionId'. Cannot convert value "13404964290887995043" to type "System.Int64". Error: "Value was either too large or too small for an Int64."


WFA log extract:
10:31:13.823 ERROR  [Close Cifs Session] Parameter 'SessionId' is mandatory for Data ONTAP 9.0 and up.
10:31:13.839 ERROR  [Close Cifs Session] Error closing session for windows user test_cs_quota1
10:31:13.917 ERROR  [Close Cifs Session] Command failed for Workflow 'User_Quota_Increase' with error : Error closing session for windows user test_cs_quota1
10:31:13.917 INFO  [Close Cifs Session] ***** Workflow Execution Failed *****

 

CUSTOMER EXCLUSIVE CONTENT

Registered NetApp customers get unlimited access to our dynamic Knowledge Base.

New authoritative content is published and updated each day by our team of experts.

Current Customer or Partner?

Sign In for unlimited access

New to NetApp?

Learn more about our award-winning Support