Get success or failure response from azure function powershell

%3CLINGO-SUB%20id%3D%22lingo-sub-1094903%22%20slang%3D%22en-US%22%3EGet%20success%20or%20failure%20response%20from%20azure%20function%20powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1094903%22%20slang%3D%22en-US%22%3EI%20have%20created%20a%20azure%20function%20and%20written%20inside%20to%20create%20site%20collections%20and%20apply%20custom%20templates%20based%20on%20xml%20templates.%3CBR%20%2F%3E%3CBR%20%2F%3ESite%20creation%20data%20is%20being%20pushed%20from%20power%20automate%20through%20storage%20queue%20connector%20to%20azure%20storage%20and%20then%20passing%20that%20request%20data%20to%20function%20in%20form%20of%20JSON.%3CBR%20%2F%3E%3CBR%20%2F%3EAt%20this%20point%20I%20can%20successfully%20create%20and%20apply%20custom%20templates%20using%20azure%20function.%3CBR%20%2F%3E%3CBR%20%2F%3EWhat%20I%E2%80%99m%20not%20able%20to%20figure%20out%20how%20to%20get%20a%20success%20or%20failure%20response%20in%20power%20automate%20to%20notify%20users%20accordingly.%20Is%20there%20any%20way%20to%20do%20that%3F%3CBR%20%2F%3E%3CBR%20%2F%3EAny%20help%20is%20highly%20appreciated.%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1094903%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EPowerShell%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
New Contributor
I have created a azure function and written inside to create site collections and apply custom templates based on xml templates.

Site creation data is being pushed from power automate through storage queue connector to azure storage and then passing that request data to function in form of JSON.

At this point I can successfully create and apply custom templates using azure function.

What I’m not able to figure out how to get a success or failure response in power automate to notify users accordingly. Is there any way to do that?

Any help is highly appreciated.
0 Replies