Open eanthonyq opened 6 days ago
Hello @eanthonyq , Thanks for reaching out to us! Could you please go thorugh the v5 migration process as mentioned here.
Also, please share deployment status screenshots of all the Function apps and App service from the deployment center. Here is the reference for App service status. Please do the same for 3 function apps(Data Function, Send Function, Prep Function)
Hi @v-jaygupta,
I've gone back through 5.x upgrade steps.
Confirmed the .NET Version
Confirmed Runtime Versions for functions
Confirmed Organization specific configuration settings for Web Application and Website Default Node setting
Resynced Web Apps and 3 Function Apps
It looks like the Function Apps were not at the same version as the Web Application. They all look to be at the same versions now.
After their restarts I confirmed in the Author Application in Teams that all organization specific configurations were displaying and configured I was able to delete messages from the Application.
Resending a message to users now produces the same Orchestrator Error but there is additional Warning Information. That was not displayed before. The actual
Errors
Failed to prepare the message for sending:The orchestrator function 'SyncRecipientsOrchestrator' failed: "The activity function 'BatchRecipientsActivity' failed: "Object reference not set to an instance of an object.". See the function execution logs for additional details.". See the function execution logs for additional details.
Warnings
Failed to get members for team
Hi @eanthonyq, From the screenshot it seems like you are using a custom repository here. Can you please recheck and send screenshot of Deployment Center of any of the function app / Web app ?
Please note that if you are not using Official version of the Company Communicator, it will be out of our Support Scope as per our Support Policy
Hi @tiwariShiv7, It seems like there are 2 repository URLs being used across the Web App and 3 Function Apps.
Web App and the -data-fuction are using: https://github.com/OfficeDev/microsoft-teams-company-communicator-app.git
The -prep-function and the -function are using: https://github.com/OfficeDev/microsoft-teams-apps-company-communicator
When I follow the link to the Branch from the Deployment Center on any of those I am taken to the same URL: https://github.com/OfficeDev/microsoft-teams-apps-company-communicator
If this is not the official version could you help me with the steps to link it to the correct one?
The correct URL is https://github.com/OfficeDev/microsoft-teams-company-communicator-app.git Okay I can see in the history of Code, there are commits from Derek. Please allow me little time ~36 hours. I'll get back to you within this time
We updated to 5.5.2 on October 15th and haven't been able to send messages from the Application since.
I've reviewed Issues #1061, #1551, #1608 and #1593 and tried the steps taken in them as the errors are similar to what was referenced in them.
The errors I'm seeing in the Failures reports are 401 errors to a few API calls: GET /api/draftnotifications/scheduledDrafts GET /api/draftnotifications/ GET /api/sentnotifications
As well as OrchestrationFailures in the SyncRecipientsOrchestrator Function.
Example OrchestrationFailures Error: Exception while executing function: SyncRecipientsOrchestrator Orchestrator function 'SyncRecipientsOrchestrator' failed: The activity function 'BatchRecipientsActivity' failed: "Object reference not set to an instance of an object.". See the function execution logs for additional details.
From the resolved tickets this seems to be a secret related issue, but we've checked a few times that the active secrets in the KeyVault for the App Registrations are valid.
Any guidance would be greatly appreciated.