Reputation: 31
Error while connecting an azure bot to the server.
Upvotes: 3
Views: 25706
Reputation: 1622
TL;DR
Surprise, surprise the error is actually stating what the problem is. You either try to reach the wrong tenant or your app is not registered.
That being said, where can you find the Tenant ID?
Open the Azure Portal, then using the search functionality navigate to Active Directory. There under Overview you should find the Tenant ID.
If you are using GitHub Actions and Terraform such as myself. You would need to set the following line in your .yml file.
env:
ARM_TENANT_ID: ${{ secrets.AZURE_AD_TENANT_ID }}
There should also be a secret named AZURE_AD_TENANT_ID in your GitHub repository.
Upvotes: 0
Reputation: 1743
Azure Active Directory
in tenant A (Admin) -> User settings
-> Manage external collaboration settings
Guest users permissions are limited
to No
Navigate to the Azure Active Directory
in tenant A (Admin) -> Enterprise applications
-> User settings
set Users can consent to apps accessing company data on their behalf
to Yes
.
Please refer about the member user and guest user and Solution for the similar issue for more information
Upvotes: 3