File tree Expand file tree Collapse file tree
Solutions/SAP/Playbooks/Basic-SAPLockUser Expand file tree Collapse file tree Original file line number Diff line number Diff line change 473473 "inputs" : {
474474 "uri" : " @{parameters('SAPOAuthTokenEndpoint')}" ,
475475 "method" : " POST" ,
476- "queries " : {
477- "grant_type " : " client_credentials "
476+ "headers " : {
477+ "Content-Type " : " application/x-www-form-urlencoded "
478478 },
479+ "body" : " grant_type=client_credentials" ,
479480 "authentication" : {
480481 "type" : " Basic" ,
481482 "username" : " @{parameters('SAPOAuthClientId')}" ,
485486 "runtimeConfiguration" : {
486487 "contentTransfer" : {
487488 "transferMode" : " Chunked"
489+ },
490+ "secureData" : {
491+ "properties" : [
492+ " outputs"
493+ ]
488494 }
489495 }
490496 },
518524 "expression" : {
519525 "and" : [
520526 {
521- "equals " : [
527+ "greaterOrEquals " : [
522528 " @outputs('Block_User_via_SAP')['statusCode']" ,
523529 200
524530 ]
531+ },
532+ {
533+ "less" : [
534+ " @outputs('Block_User_via_SAP')['statusCode']" ,
535+ 300
536+ ]
525537 }
526538 ]
527539 },
You can’t perform that action at this time.
0 commit comments