@Philipp Thank you for posting your question in Microsoft Q&A, apologize for any inconvenience caused on this.
- We want so send SMS from our AKS cluster. Normally we connect other azure services via private endpoint connections. Is this also possible for the communication service? And if not, is this planned/on the roadmap?
Connecting to ACS resource using private endpoint is not supported and also, I don't see Azure Communication Service is being listed here in this documentation which has list the of service which Azure Service support private endpoint communication. I am checking with internal team on the same and will update you here Once I hear back from them.
- The documentation is mainly focusing on key authentication using the primary/secondary key from the azure portal. But there is also the way to use managed identities for authentication. We crated a managed identity with contributor permissions and scope set to the communication service. How do we use this managed identity with the Java SDK. Would be great, if someone could share a sample code snippet.
Connecting to Azure Communication service is possible you can refer to the below outlined documentations.
- Connecting and Authentication to Azure Communication Service using Managed Identity.
- Java SDK Sample to send SMS using createSyncClientUsingTokenCredential().
Hope this helps, let me know if you have any further questions on this.