Hi @Saravana Kumar S
Thank you for your question and using Microsoft Q&A platform.
It sounds like you’re encountering a 400 Bad Request error when trying to create a scan with a collection name. This error typically indicates that there’s an issue with the request payload. Here are a few things you can check:
- Collection Reference: Ensure that the referenceName you are using for the collection actually exists and is correctly spelled. The collection must be pre-created in Purview.
- JSON Structure: Verify that the JSON structure is correct and matches the expected schema. Sometimes, even a small typo or misplaced comma can cause issues.
- API Version: Make sure you are using the correct API version as specified in the documentation. Sometimes, different versions may have slight variations in the expected payload.
Hope this helps. Please let me know if you have any further questions.