The error message you are encountering, AADSTS700016: Application with identifier '{APP-ID}' was not found in the directory 'Bot Framework', typically indicates that the Azure Bot Framework service is unable to locate the App Registration in the expected Azure Active Directory (AAD) tenant. This can happen for a few reasons:
- Tenant Mismatch: The Bot Framework service might be looking for the App ID in the wrong tenant. Ensure that the App Registration is indeed created in the same tenant where the Azure Bot resource is registered.
- Single Tenant Configuration: Since you mentioned that your bot is configured as a single tenant, ensure that the users trying to access the bot are part of the same tenant where the App Registration exists. If your bot is single-tenant, it will not work for users outside of that tenant.
- Azure for Students Subscription: While there are no explicit limitations mentioned regarding the use of Azure for Students subscriptions with the Bot Framework, it is possible that certain features or configurations may behave differently. However, the core functionality should still work as expected if properly configured.
- App Registration Issues: Double-check that the App Registration has the necessary permissions and that the API permissions are granted and consented to. Sometimes, even if the registration exists, it may not have the correct permissions set up.
To resolve this issue, you can:
- Verify the tenant ID and ensure that your bot and App Registration are in the same tenant.
- Check the API permissions for the App Registration and ensure that they are correctly set.
- If possible, try creating a new App Registration and linking it to your bot to see if the issue persists.
If the problem continues, consider reaching out to Azure support for more specific guidance related to your Azure for Students subscription.