Azure / azure-sdk-for-python

This repository is for active development of the Azure SDK for Python. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/python/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-python.
MIT License
4.62k stars 2.83k forks source link

Getting 'Endpoint resources are no longer supported' when we create AIResource #35918

Open Roopan-Microsoft opened 5 months ago

Roopan-Microsoft commented 5 months ago

Describe the bug When we call begin_create(ai_resource=AIResource( name=aihub_name, )).result(). Its getting failed with error '"message": "Endpoint resources are no longer supported, and have been migrated to connections. Please delete this resource and re-create it as a connection.",'. Below is the complete error details. Code: BadRequest Message: { "error": { "code": "ValidationError", "severity": null, "message": "Endpoint resources are no longer supported, and have been migrated to connections. Please delete this resource and re-create it as a connection.", "messageFormat": null, "messageParameters": null, "referenceCode": null, "detailsUri": null, "target": null, "details": [], "innerError": null, "debugInfo": null, "additionalInfo": null }, "correlation": { "operation": "e65e99ac325b68eaf44c8b968f47d18d", "request": "2fb136817008365a" }, "environment": "eastus", "location": "eastus", "time": "2024-06-05T02:27:07.2472072+00:00", "componentName": "account-rp", "statusCode": 400 }

To Reproduce Steps to reproduce the behavior:

  1. Can try creating AIResource with python version of 3.11.9

Expected behavior It should get created successfully

Screenshots image

Additional context Add any other context about the problem here.

github-actions[bot] commented 5 months ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @luigiw @needuv @paulshealy1 @singankit.

Roopan-Microsoft commented 4 months ago

Hi @luigiw @needuv @paulshealy1 @singankit - Any update on this?

Roopan-Microsoft commented 4 months ago

Hi @luigiw @needuv @paulshealy1 @singankit - Any update on this?