@Sunita Gannavarapu I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to accept the answer .
Ask: How to capture scan completion status via atlas api cal
My customer wants to trigger the scans using synapse pipeline, where we are using a web activity call to trigger a scan (which is already created in purview), we need to then run another web activity to update the asset description after the scan is completed. Is there a way to get a signal back in the pipeline when the scan gets completed so we can trigger the next activity?
Is there a way to get a signal back in the pipeline when the scan gets completed so we can trigger the next activity?
Solution: We do have an API to get the status of the scan which was triggered earlier.
we need to specify the DataSource and the scan name and call the API to get the scan status and then can use it as per our requirement.
the API for scan is : Scan Result - List Scan History - REST API (Azure Purview) | Microsoft Learn
If I missed anything please let me know and I'd be happy to add it to my answer, or feel free to comment below with any additional information.
I hope this helps!
If you have any other questions, please let me know. Thank you again for your time and patience throughout this issue.
Please don’t forget to Accept Answer
and Yes
for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members.