An Azure service that provides a hybrid, multi-cloud management platform for APIs.
@dsaipta-7344 Apologies for the late reply. I had a discussion internally with the portal team. The cause was due to updating the api-version to 2022-09-01-preview, there is an issue with retrieving the collection of APIM services, which format the "id" field wrongly.
This resulted in the error The request did not have a subscription or a valid tenant level resource provider.
As a quick fix, please use the below portal link:
https://portal.azure.com/?apimApiVersion=2022-08-01&apimPreviewApiVersion=2022-08-01
Then Navigate to your Azure Function APP Blade and click on the API Management and Select the concerned APIM resource and the API and try Linking you API. This should work fine now.
**
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.