Skip to main content
NetApp Knowledge Base

WFA 5 workflow execution fails on disconnect user CIFS session

Views:
181
Visibility:
Public
Votes:
0
Category:
oncommand-workflow-automation-wfa
Specialty:
legacy
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 *****

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.
Scan to view the article on your device