Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs
Hi @Nithish
You have already validated most of the expected configuration items. Based on the information provided I gathered,
- Microsoft does not publicly document which specific backend validation returns the
InvalidUserIderror during the Teams entitlement/install workflow. Public information only indicates that it is associated with bot registration or configuration issues, so the exact failing check cannot be determined from client-side traces alone. - Beyond verifying the Bot ID, Entra app registration, tenant configuration, Teams channel configuration, and manifest values, I am not aware of a public diagnostic that specifically confirms whether the Teams entitlement service can successfully resolve the bot registration during installation.
- The bot appears to be associated with a legacy Bot Framework registration experience, but I have not found documentation showing that a legacy registration or the presence of a Migrate option would cause this specific
InvalidUserIdfailure. Microsoft-side tracing would likely be required to determine whether the Teams entitlement service is unable to resolve or validate the bot registration.
Given that the app publishes successfully and the failure occurs during user installation, I recommend opening a Microsoft Teams support case and providing the details. Microsoft support should be able to verify whether the Teams entitlement service can successfully resolve and validate the bot registration associated with the Bot ID.
Additionally, I reviewed the ServiceDesk Plus Integration with Microsoft Teams documentation and noticed that the documented setup flow creates and configures the bot through Teams Developer Portal, Microsoft Entra App Registration, and Azure configuration. The guide also instructs associating the Entra Application (Client) ID with the bot and Teams app.
Note: This information is provided as a convenience to you. This site is not controlled by Microsoft, and Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please ensure that you fully understand the risks before using any suggestions from the above link.
One thing that stood out is that your description mentions a bot registration in dev.botframework.com with a Migrate option, while the ServiceDesk Plus documentation I reviewed does not appear to reference the legacy Bot Framework portal as part of the setup workflow.
Could you confirm whether your deployment was configured using the same process described in the ServiceDesk Plus integration guide, or was the bot originally created using a different/older Bot Framework registration method?