Hi @Yogesh Borse ,
Thanks for reaching out to Microsoft Q&A.
Please check if below provided information helps:
Why are other users still asked to connect despite using Maker-provided credentials?
This often occurs if the Azure Function is relying on specific user credentials that aren't available to other users. It might be worthwhile to look into using a more universal authentication method, such as Managed Identities or App Registration with client credentials, which allow seamless access for all users.
What causes the ConnectorRequestFailure after some queries?
This error can happen when the responses from your Azure SQL exceed the 500 KB limit that Copilot Studio imposes. Make sure to filter your Azure SQL queries to return only the necessary data, using the inputs feature in your connector action settings. You might also want to check for intermittent connection issues, as these can contribute to request failures.
What is the recommended authentication approach for shared Copilot agents?
For shared agents, using a Managed Identity is generally recommended for Azure resources that support it, as it simplifies the connection by automating the token management. Alternatively, using App Registration with client credentials can be effective too, but requires handling client secrets safely.
Steps to follow:
- Ensure that your Azure Function's API doesn't return excessive data; implement input filtering where possible.
- For authentication, consider implementing Managed Identities, which can lead to a seamless experience without the need for individual user tokens.
- Review your connection settings regularly and ensure that all users have the necessary permissions to access the resources.
References:
- Connector request failure
- Manage connections in Azure Functions
- Troubleshooting intermittent outbound connection errors in Azure App Service
Hope it helps!
Please do not forget to click "Accept the answer” and Yes, this can be beneficial to other community members.
If you have any other questions, let me know in the "comments" and I would be happy to help you.