Coder Social home page Coder Social logo

cristianoag / microsoft-teams-apps-company-communicator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from officedev/microsoft-teams-apps-company-communicator

16.0 16.0 38.0 12.75 MB

Company Communicator app template

License: MIT License

C# 79.16% HTML 0.18% TypeScript 14.39% Batchfile 0.42% SCSS 1.69% PowerShell 3.74% Dockerfile 0.42%

microsoft-teams-apps-company-communicator's People

Contributors

amyzhao1321 avatar aosolis avatar cbitter78 avatar cristianoag avatar dependabot[bot] avatar hjgraca avatar jotrick avatar juna-gupta avatar lakshmipratapg avatar luisdemetrio avatar luishdemetrio avatar maduva avatar microsoftopensource avatar mikhail2k15 avatar mjfusa avatar msftgits avatar paul-cheung avatar porkai-pandian avatar priyank29 avatar qmatteoq avatar sammyrasha avatar tiagomiotto avatar tsujonathan avatar v-abtan avatar v-smahaj avatar yashrajmungale avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

microsoft-teams-apps-company-communicator's Issues

{"error":{"code":"ConversationNotFound"

In one of my deployments I am getting this issue for a particular user. The user reported that they accidentally deleted the communicator chat and since then they are not receiving any new messages from the app and they cannot see the previous messages either. Tested this also by placing this user and a second user in a M365 user group and set it as the Target Audience in the Communicator app. The first user does not receive any message at all while the second user is receiving it just fine. They also seem to be not receiving any messages in the pinned communicator app that are sent orgwide.

image

I have checked the app registrations for the graph app and the supported account types was changed to Single Tenant, but after switching it back to Multi-tenant the issue still remains. The User and Author app registrations are set to Multi-Tenant as well. I have checked the Api permissions and they have been granted.

image

The Recipients status only shows the status of the message received successfully by the second user there is no entry in the detailed reports either if the message receiving was a success or failure.

WhatsApp Image 2023-09-25 at 15 02 46

Messages not sending to any users

We have followed the steps in #68 to resolve the issue of "sorry, an error occured while trying to access this service". We then got access to the author app again but any messages we tried to send were stuck in queued. We followed the steps in #77 to resolve the issue by running the script to update the function apps/app service.

Overall, we did these changes:

  1. Updated function apps and app service to master-v5.31
  2. Disabled second rule on the front door.
  3. Synced app service and all 3 function apps
  4. Ran the script as mentioned in issue 77
  5. Updated runtime for the 3 function apps
  6. Updated secrets for 3 app registrations and updated the environment variables in the 3 function apps + app service with the new url to the keyvault where they are stored.
  7. Restarted all 3 function apps + app service

Right now the messages seem to send however, it doesn't load any recipients. We are attempting to use the send it to 1-1 chat via members of a team.

Edit: we've also tried to send a message using a CSV file, which produced an error (screenshot below). It looks as though it's a similar issue to #76.

image

@cristianoag @luishdemetrio

Timeout when calling microsoftTeams.authentication.notifySuccess(); in company communicator.

Issue

=========

[Extensibility] Timeout when calling microsoftTeams.authentication.notifySuccess(); in company communicator.

Background

=========

Customer used Microsoft app templates "Company communicator" and deployed an customized app, no code change.

https://learn.microsoft.com/en-us/microsoftteams/platform/samples/app-templates

The customized app was working when between June-July, but the "draft message" function is not working since middle of Augest.

the expected behavior is a popup tab with editing message window.

image

**Troubleshooting

============**

logs shared with microsoft onedrive: https://microsoftapc-my.sharepoint.com/:f:/g/personal/guc_microsoft_com/EuR-LLMGJ2ZBg2wNfzpHXysBxdbmWyTGYquYaG2sKzOlzA?e=SF4p4m

collect fiddler and client log, all fiddler trace showing 20X no error located.
Client log indicates the popup tab is timed out for notifySuccess() when doing some authentication task in the popup tab

2023-08-25T03:19:19.475Z Inf ExtensionTabBase: Tab timedout waiting for notifySuccess(): App id = 6ba272cb-595f-4515-bdee-e324b8d7df85, AppSessionId = 177d031b-0ae9-42a6-b59e-a362daa6f143, AppLaunchId = 7d7705c0-d163-4304-89e8-f2e1792b88e7

I checked the company communicator github, it called microsoftTeams.authentication.notifySuccess();
…..

const hashParams: any = getHashParameters();

if (hashParams["error"]) {

// Authentication/authorization failed

microsoftTeams.authentication.notifyFailure(hashParams["error"]);

} else if (hashParams["id_token"]) {

// Success

microsoftTeams.authentication.notifySuccess();

} else {

// Unexpected condition: hash does not contain error or access_token parameter

microsoftTeams.authentication.notifyFailure("UnexpectedFailure");

}
The challenge is how to troubleshooting further on this timeout. thanks.

Exception while executing function: DataAggregationTriggerActivity Specified argument was out of the range of valid values. (Parameter 'Recipient count should be > 0. Value: 0')

Using master version

Error: Exception while executing function: DataAggregationTriggerActivity Specified argument was out of the range of valid values. (Parameter 'Recipient count should be > 0. Value: 0')

image

Call Stack:

Microsoft.Azure.WebJobs.Host.FunctionInvocationException:
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor+d__26.MoveNext (Microsoft.Azure.WebJobs.Host, Version=3.0.34.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35: C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Host\Executors\FunctionExecutor.cs:352)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at System.Runtime.CompilerServices.TaskAwaiter1.GetResult (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e) at Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor+<TryExecuteAsync>d__18.MoveNext (Microsoft.Azure.WebJobs.Host, Version=3.0.34.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35: C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Host\Executors\FunctionExecutor.cs:108) Exceção interna System.ArgumentOutOfRangeException tratada em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw: at Microsoft.Teams.Apps.CompanyCommunicator.Prep.Func.PreparingToSend.DataAggregationTriggerActivity+<RunAsync>d__4.MoveNext (Microsoft.Teams.Apps.CompanyCommunicator.Prep.Func, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null: C:\home\site\repository\Source\CompanyCommunicator.Prep.Func\PreparingToSend\Activities\DataAggregationTriggerActivity.cs:66) at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e) at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e) at System.Runtime.CompilerServices.TaskAwaiter.GetResult (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e) at Microsoft.Azure.WebJobs.Host.Executors.VoidTaskMethodInvoker2+d__2.MoveNext (Microsoft.Azure.WebJobs.Host, Version=3.0.34.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35: C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Host\Executors\VoidTaskMethodInvoker.cs:20)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at System.Runtime.CompilerServices.TaskAwaiter1.GetResult (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e) at Microsoft.Azure.WebJobs.Host.Executors.FunctionInvoker2+d__10.MoveNext (Microsoft.Azure.WebJobs.Host, Version=3.0.34.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35: C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Host\Executors\FunctionInvoker.cs:52)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at System.Runtime.CompilerServices.TaskAwaiter1.GetResult (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e) at Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor+<InvokeWithTimeoutAsync>d__33.MoveNext (Microsoft.Azure.WebJobs.Host, Version=3.0.34.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35: C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Host\Executors\FunctionExecutor.cs:581) at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e) at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e) at System.Runtime.CompilerServices.TaskAwaiter1.GetResult (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor+d__32.MoveNext (Microsoft.Azure.WebJobs.Host, Version=3.0.34.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35: C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Host\Executors\FunctionExecutor.cs:527)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor+d__26.MoveNext (Microsoft.Azure.WebJobs.Host, Version=3.0.34.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35: C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Host\Executors\FunctionExecutor.cs:306)

Company Communicator - Messages queued after New Teams 2.1 Upgrade.

Initially it throwed an error while accessing CC app on new teams.

After following the below instructions mentioned in the article #68 , the issue with accessing CC got fixed. BUt was unable to edit and exisging Draft message also when sending a new message, it gets struck with status queued. Trid to sync Function apps and restarted App services with no luck.

Instructions Followed:
Change the git branch to App service. To below values
• Disconnect the repo and update to
External Git
Repository: https://github.com/cristianoag/microsoft-teams-apps-company-communicator.git
Branch: From master to master-v5.31

• Perform this change on :
	AppService
	RTLearningHub-data-function
	RTLearningHub-function
	RTLearningHub-prep-function
• Wait for 30 mins and resyn the service. 
• Open Front Door and CDN profiles and navigate to Front door designer

Change routing rule to disable Routing Rule 2

New/Edit message form rendering issue with multiple buttons

Hi,
When putting buttons with longer label, the buttons on the preview(right) are large(rendered with full text), the left side of the form is squized and unreadable. The correct behaviour is that the buttons will be squized(not rendered fully in preview) and the lefts side will stay as is (Edit part and preview part should have fixed width).

The rendring was fine and it is still fine with Team App version: 1.6.00.22378 (64-bit).
MS_Teams_1 6 00 22378_OK

The rendring is workign wrong wtih newer Team App version: 1.6.00.24078 (64-bit).
MS_Teams_1 6 00 24078_NOT_OK

The rendring is workign wrong in the Edge browser.
Edge_NOT_OK

messages get stuck in the queue

We are having issues that our messages get stuck in the queue and are not send. Last time working was on 9.11. Is this related due latest issues?

Thanks

Markus

SyncRecipientsOrchestrator Orchestrator function 'SyncRecipientsOrchestrator' failed

Using master version

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.

image

Call Stack:

Microsoft.Azure.WebJobs.Host.FunctionInvocationException:
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor+d__26.MoveNext (Microsoft.Azure.WebJobs.Host, Version=3.0.34.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35: C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Host\Executors\FunctionExecutor.cs:352)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at System.Runtime.CompilerServices.TaskAwaiter1.GetResult (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e) at Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor+<TryExecuteAsync>d__18.MoveNext (Microsoft.Azure.WebJobs.Host, Version=3.0.34.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35: C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Host\Executors\FunctionExecutor.cs:108) Exceção interna DurableTask.Core.Exceptions.OrchestrationFailureException tratada em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw: at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e) at Microsoft.Azure.WebJobs.Extensions.DurableTask.DurableTaskExtension+<>c__DisplayClass55_0+<<OrchestrationMiddleware>b__0>d.MoveNext (Microsoft.Azure.WebJobs.Extensions.DurableTask, Version=2.0.0.0, Culture=neutral, PublicKeyToken=014045d636e89289: D:\a\r1\a\azure-functions-durable-extension\src\WebJobs.Extensions.DurableTask\DurableTaskExtension.cs:556) at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e) at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e) at System.Runtime.CompilerServices.TaskAwaiter.GetResult (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e) at Microsoft.Azure.WebJobs.Host.Executors.TriggeredFunctionExecutor1+<>c__DisplayClass7_0+<b__0>d.MoveNext (Microsoft.Azure.WebJobs.Host, Version=3.0.34.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35: C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Host\Executors\TriggeredFunctionExecutor.cs:50)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at System.Runtime.CompilerServices.TaskAwaiter1.GetResult (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e) at Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor+<InvokeWithTimeoutAsync>d__33.MoveNext (Microsoft.Azure.WebJobs.Host, Version=3.0.34.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35: C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Host\Executors\FunctionExecutor.cs:581) at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e) at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e) at System.Runtime.CompilerServices.TaskAwaiter1.GetResult (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor+d__32.MoveNext (Microsoft.Azure.WebJobs.Host, Version=3.0.34.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35: C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Host\Executors\FunctionExecutor.cs:527)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor+d__26.MoveNext (Microsoft.Azure.WebJobs.Host, Version=3.0.34.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35: C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Host\Executors\FunctionExecutor.cs:306)

CSV file is too big

Hi, I have recently faced an issue with uploading CSV file. I cannot find in documentation anything about limitations for uploaded files.
The error says like this: The CSV is too big. Needs to be smaller than: 30141 bytes. - can it be bypassed by some setting in the configuration, or it works by design?

chat message while composing

Hi.
I'm using version 5.1.2 in business environment.
All is working correctly but I've noticed that if I'm composing a message and in the meantime I receive a chat message and try to open it I cannot close the composing window.
It's responsive, I can save the message as draft BUT I cannot close the window of CC to reply at the chat message.
The only way is to close Teams totally

Error Opening Links using button in message

Hello,

When user is creating a new message, the link added in the button is tested using the preview method and the correct link opens. However, once message is sent out, the button opens a different link than the one seen in the preview.

This is a problem as the link opening is inconsistent between the actual message and the one in the preview.
It's the same link but in preview opens one and in the actual message opens another.

Is this a bug?

Status of 'read' does not count

The status of 'read' does not count the quantity when a user reads a post. However, the status of clicking the button occurs when a user clicks.
image

Could you help test why it is like that?

Critical and high security alerts

Our InfoSec team as flagged vulnerabilities with the Newtonsoft.Json library. Any plans to address this? I see in the original Company Communicator they addressed alerts in April 2024. Assuming the Newtonsoft.Json library is one of them.

{
"EvidenceObjectType": "SECURITY_TOOL_FINDING",
"description": "The library Newtonsoft.Json version 12.0.3 was detected in Dotnet library manager located at /bin/function.deps.json and is vulnerable to CVE-2024-21907, which exists in versions \u003c 13.0.1.\n\nThe vulnerability was found in the Github Security Advisory with vendor severity: High (NVD severity: High).\n\nThis vulnerability has a known exploit available. Source: Github.\n\nThe vulnerability can be remediated by updating the library to version 13.0.1 or higher, using dotnet add package Newtonsoft.Json.",
"detailed_fixedVersion": "13.0.1",
"detailed_version": "12.0.3",
"detectedByFilePath": "/bin/function.deps.json",
"name": "CVE-2024-21907",
"severity": "VulnerabilitySeverityHigh"
}

Keep loading when opening "Draft" messages

We have an installation running for few months already, started from few weeks ago, the screen will keep loading for some of the draft messages which didn't happen before.

Image of sent messages disappears after a few days

When the message is sent, after a few days or weeks the image linked to the message disappears. The image was always added uploading a picture and not linking the public url. The image disappears both in the communicator chat and also in the sent messages preview in the author interface.
rpboema
Do you know why this happens?

Thanks

Export not working

Hi.
I've having following message in a new installation of master-v5.31 instance
image

What did I do wrong?

Company Communicator - Incoherent analytics data

Dear developers,

after sending a message through the Teams Company Communicator, analytics show incoherent data.

As shown in the screenshot below, for example, we have a message sent to over 2 thousands users but it appears that only 46 read it. It seems strange that such a small number of people actually read the message.
Furthermore, it is reported that over 200 users clicked on the call to action within the message. How can it be that a user that clicked the button doesn't appear to have read the same message?

Can you confirm on what circumstances a Company Communicator message is marked as "read"?

Thanks in advance.

Best regards,
Filippo Baroncini
Applied S.r.l.

275872512-359fc027-1ef5-4697-a575-a91e84fb56d5

Company Communicator stop working when use New Teams version

My company turned on to use New version of Teams but I found that the communicator is error as attached, when I get back to normal Teams version "1.6.00.29964 (64-bit)" it worked fine.
please help to advise if we have version that able to use with new Teams please.

282595898-a70728ca-9f65-48e3-b349-588b20ec0236

Messages are not being delivered to all recipients

Hi, thanks for all the effort on supporting this useful app.

Unfortunately, we started having issues with the service. Lately the messages we sent are not being delivered to all recipients, as you can see in the image:

MicrosoftTeams-image

This situation happens with random users on different messages we sent.

MicrosoftTeams-image (1)

The error text is the following:

System.AggregateException: Failed to acquire token for client credentials. (AADSTS700016: Application with identifier 'a2bd9aa0-f0fb-4eef-b447-028d706077a6' was not found in the directory 'd6d49420-f39b-4df7-a1dc-d59a935871db'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant.Trace ID: d4bbdac0-8b87-4543-945b-e2df5fe61800Correlation ID: e95c8eb9-d5ce-45aa-be81-f65b41f68198Timestamp: 2022-11-03 12:51:32Z)

We can't upload the app because there's already an app in the catalog with the same app ID. To upload a new app, change the app ID and try again. To update an existing app, go to the app details page

All I followed the whole procedure by registering applications and their App ID and Secret ID and completed azure step.
But unfortunately once i try to upload on teams it is throwing error "We can't upload the app because there's already an app in the catalog with the same app ID. To upload a new app, change the app ID and try again. To update an existing app, go to the app details page"

CaptureError3

Sent Message Stuck in Queue

The sent message is stuck in queue upon checking the Azure functions there is this notification at top. I have deployed the app from the master-v5.31 repo.

axcommunicatorapp-function
Microsoft.Teams.Apps.CompanyCommunicator.Send.Func: Could not load file or assembly 'Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.

axcommunicatorapp-prep-function
Microsoft.Teams.Apps.CompanyCommunicator.Prep.Func: Could not load file or assembly 'Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.

axcommunicatorapp-data-function
Microsoft.Teams.Apps.CompanyCommunicator.Data.Func: Could not load file or assembly 'Microsoft.Extensions.Options, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.

Application not sending messages

In February we deployed Company Communicator. It was working, and most users were receiving messages but there were some exceptions and for some users the messages was not delivered with error "App not installed" but in fact the application was installed. We performed those steps:
OfficeDev#848 (comment)
Navigate to Azure portal and open company communicator deployed resource group
Click on “Storage account”
Expand “Tables” section
Open “AppConfig” table
Delete the second record where Rowkey is entered as “UserAppId”
But in our deployment there was no such key as “UserAppId” and so next we moved to this instruction:
OfficeDev#915 (comment)
Navigate to Azure portal and open company communicator deployed resource group
Click on “Storage account”
Expand “Tables” section
Open UserData Table
Except "AuthorData" please remove the remaining entities.

And after cleaning, the messages aren't received by any of our user. All are failing with error "App not installed".

Export Detailed Results for messages does not work

After new message is sent when accessing "view status" option and after clicking on "export detailed results" I get the "export is queued" message but these results are never delivered. when I check the storage all the jobs that were ever triggered are in progress status and never delivered

image

Low Image Quality

Good afternoon, I have detected that when I load an image in a message the quality of it drops considerably, and the loading of files by URL does not work correctly, how can I solve this problem?

Buttons Click Tracking

I have a problem with the tracking button, there are more clicks on the tracking button than people reading the message, why is this?
image

Reads not working from mobile device

I'm not able to track the reads from the mobile device once the message has been send. Tracking works well within the teams app when we read the message. Is that the default behavior ? Can’t we track the read from the mobile device ?

would appreciate some help.

Thanks
Shalin

Vault to Long name

Hi

We tried to Upgrade our existing solution to V5 but the name of the existing solutions is to long for the vault.

"status": "Failed",
"error": {
    "code": "VaultNameNotValid",
    "message": "The vault name 'mgbCompanyCommunicatorvault' is invalid. A vault's name must be between 3-24 alphanumeric characters. The name must begin with a letter, end with a letter or digit, and not contain consecutive hyphens. Follow this link for more information: https://go.microsoft.com/fwlink/?linkid=2147742"
}

is there an option that we can specify another Vault name, then the generated one? maybe in the template.

Azure function app error after upgrade to 5.13

Hi All, ran the upgrades this week to version 5.13 and all showing as 'success (active)' however on the function app I now get this error - System.Private.CoreLib: Value cannot be null. (Parameter 'value'). - and the function app is not running. Has anyone else encountered this issue or know how to resolve?

Azure
Azure2

Most grateful for any assistance, I've not experienced any issues with previous upgrades.

Thanks

Update Site Control Error

I'm getting this error while deploying The CC
{
"code": "DeploymentFailed",
"message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.",
"details": [
{
"message": "Repository 'UpdateSiteSourceControl' operation failed with System.Net.WebException: The remote server returned an error: (503) Server Unavailable.\r\n at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)\r\n at System.Threading.Tasks.TaskFactory1.FromAsyncCoreLogic(IAsyncResult iar, Func2 endFunction, Action1 endAction, Task1 promise, Boolean requiresSynchronization)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.Web.Hosting.Administration.Utilities.WebRequestHelper.d__9.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.Web.Hosting.Administration.SiteRepositoryProvider.TrackerContext.d__41.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.Web.Hosting.Administration.SiteRepositoryProvider.d__31.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.Web.Hosting.Administration.ExternalSiteRepositoryProvider.d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.Web.Hosting.Administration.WebCloudController.<>c__DisplayClass326_1.<b__1>d.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.Web.Hosting.AsyncHelper.RunSync[TResult](Func`1 func)\r\n at Microsoft.Web.Hosting.Administration.WebCloudController.UpdateSiteSourceControl(String subscriptionName, String webspaceName, String name, SiteSourceControl siteSourceControl)."
}
]
}

Unable to sync App Service - deployment failure

The App service fail to sync.
The log reports:

Command: deploy.cmd
Handling ASP.NET Core Web Application deployment.
Restoring NuGet packages
Determining projects to restore...
All projects are up-to-date for restore.
Restoring npm packages (this can take several minutes)
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.13.0 but none is installed. You must install peer dependencies yourself.
up to date in 151.027s
npm WARN @pmmmwh/[email protected] requires a peer of type-fest@^0.13.1 but none is installed. You must install peer dependencies yourself.
npm WARN @pmmmwh/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
Building the client app (this can take several minutes)
npm WARN @pmmmwh/[email protected] requires a peer of [email protected] || 1.x but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of ts-node@>=9.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of canvas@^2.5.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of encoding@^0.1.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of fibers@>= 3.1.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of node-sass@^4.0.0 || ^5.0.0 || ^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN The package papaparse is included as both a dev and production dependency.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\watchpack-chokidar2\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"ia32"})

[email protected] build C:\home\site\repository\Source\CompanyCommunicator\ClientApp
react-scripts build

Creating an optimized production build...
Compiled with warnings.

src\components\ManageGroups\ManageGroups.tsx
Line 1:1: Unexpected Unicode BOM (Byte Order Mark) unicode-bom

src\components\NewMessage\newMessage.tsx
Line 35:7: 'coeff' is assigned a value but never used @typescript-eslint/no-unused-vars
Line 488:15: 'buttonTitleAsString' is assigned a value but never used @typescript-eslint/no-unused-vars
Line 740:119: Expected '===' and instead saw '==' eqeqeq
Line 1597:139: Expected '===' and instead saw '==' eqeqeq
Line 1630:162: Expected '===' and instead saw '==' eqeqeq
Line 1671:162: Expected '===' and instead saw '==' eqeqeq

src\components\OverFlow\scheduledMessageOverflow.tsx
Line 1:1: Unexpected Unicode BOM (Byte Order Mark) unicode-bom

Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.

File sizes after gzip:

468.36 KB build\static\js\2.24637181.chunk.js
17.02 KB build\static\js\main.b18cdb9f.chunk.js
2.97 KB build\static\css\main.93868222.chunk.css
783 B build\static\js\runtime-main.f341037b.js

The project was built assuming it is hosted at /.
You can control this with the homepage field in your package.json.

The build folder is ready to be deployed.
You may serve it with a static server:

npm install -g serve
serve -s build

Find out more about deployment here:

https://cra.link/deployment

Building the application
Microsoft (R) Build Engine version 16.7.2+b60ddb6f4 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

Determining projects to restore...
All projects are up-to-date for restore.
Microsoft.Teams.Apps.CompanyCommunicator.Common -> C:\home\site\repository\Source\CompanyCommunicator.Common\bin\Release\netstandard2.1\Microsoft.Teams.Apps.CompanyCommunicator.Common.dll
Microsoft.Teams.Apps.CompanyCommunicator -> C:\home\site\repository\Source\CompanyCommunicator\bin\Release\netcoreapp3.1\Microsoft.Teams.Apps.CompanyCommunicator.dll
Microsoft.Teams.Apps.CompanyCommunicator -> C:\home\site\repository\Source\CompanyCommunicator\bin\Release\netcoreapp3.1\Microsoft.Teams.Apps.CompanyCommunicator.Views.dll
Restoring dependencies using 'npm'. This may take several minutes...
Building the client app using 'npm'. This may take several minutes...
Finished building the client app
Microsoft.Teams.Apps.CompanyCommunicator -> C:\local\Temp\8da3bc0a4cf5bb3
Creating app_offline.htm
KuduSync.NET from: 'C:\local\Temp\8da3bc0a4cf5bb3' to: 'C:\home\site\wwwroot'
Copying file: 'Microsoft.Teams.Apps.CompanyCommunicator.deps.json'
Copying file: 'ClientApp\build\asset-manifest.json'
Copying file: 'ClientApp\build\index.html'
Copying file: 'ClientApp\build\static\css\main.93868222.chunk.css'
Copying file: 'ClientApp\build\static\css\main.93868222.chunk.css.map'
Copying file: 'ClientApp\build\static\js\2.24637181.chunk.js'
Copying file: 'ClientApp\build\static\js\2.24637181.chunk.js.LICENSE.txt'
Copying file: 'ClientApp\build\static\js\2.24637181.chunk.js.map'
Copying file: 'ClientApp\build\static\js\main.b18cdb9f.chunk.js'
Copying file: 'ClientApp\build\static\js\main.b18cdb9f.chunk.js.map'
Copying file: 'ClientApp\build\static\js\runtime-main.f341037b.js'
Copying file: 'ClientApp\build\static\js\runtime-main.f341037b.js.map'
Copying file: 'ClientApp\build\static\media\getFetch.582d29c4.cjs'
Copying file: 'ClientApp\build\static\media\TeamsAssets-Light.14c3e6f0.eot'
Copying file: 'ClientApp\build\static\media\TeamsAssets-Light.66561737.ttf'
Copying file: 'ClientApp\build\static\media\TeamsAssets-Light.6d0fa9a8.woff'
Copying file: 'ClientApp\build\static\media\TeamsAssets-Light.73e6fac8.svg'
Copying file: 'ClientApp\build\static\media\TeamsAssets-Light.e8bd73e2.woff2'
Copying file: 'ClientApp\build\static\media\TeamsAssets-Regular.59b42e51.woff2'
Copying file: 'ClientApp\build\static\media\TeamsAssets-Regular.5da5870e.eot'
Copying file: 'ClientApp\build\static\media\TeamsAssets-Regular.7239f6ef.svg'
Copying file: 'ClientApp\build\static\media\TeamsAssets-Regular.a49d84c5.woff'
Copying file: 'ClientApp\build\static\media\TeamsAssets-Regular.ace6ce92.ttf'
Deleting app_offline.htm
Finished successfully.
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"ia32"})
Input string was not in a correct format.

Got error when sent out message

We have a new installation, but we encountered the error below when sending message.

Microsoft.Azure.WebJobs.Script.ExternalStartupException : Error building configuration in an external startup class. ---> Microsoft.Azure.WebJobs.Script.HostInitializationException : One or more loaded extensions do not meet the minimum requirements. For more information see https://aka.ms/func-min-extension-versions.ExtensionStartupType DurableTaskWebJobsStartup from assembly 'Microsoft.Azure.WebJobs.Extensions.DurableTask, Version=2.0.0.0, Culture=neutral, PublicKeyToken=014045d636e89289' does not meet the required minimum version of 2.4.1. Update your NuGet package reference for Microsoft.Azure.WebJobs.Extensions.DurableTask to 2.4.1 or later.ExtensionStartupType ServiceBusWebJobsStartup from assembly 'Microsoft.Azure.WebJobs.ServiceBus, Version=3.0.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' does not meet the required minimum version of 4.2.1.0. Update your NuGet package reference for Microsoft.Azure.WebJobs.Extensions.ServiceBus to 4.2.1 or later. at Microsoft.Azure.WebJobs.Script.DependencyInjection.ScriptStartupTypeLocator.ValidateExtensionRequirements(List1 startupTypes) at /_/src/WebJobs.Script/DependencyInjection/ScriptStartupTypeLocator.cs : 330 at async Microsoft.Azure.WebJobs.Script.DependencyInjection.ScriptStartupTypeLocator.GetExtensionsStartupTypesAsync() at /_/src/WebJobs.Script/DependencyInjection/ScriptStartupTypeLocator.cs : 216 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.Azure.WebJobs.Script.DependencyInjection.ScriptStartupTypeLocator.<.ctor>b__10_0() at /_/src/WebJobs.Script/DependencyInjection/ScriptStartupTypeLocator.cs : 53 at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode) at System.Lazy1.ExecutionAndPublication(LazyHelper executionAndPublication,Boolean useDefaultConstructor) at System.Lazy1.CreateValue() at System.Lazy`1.get_Value() at Microsoft.Azure.WebJobs.Script.DependencyInjection.ScriptStartupTypeLocator.GetStartupTypes() at //src/WebJobs.Script/DependencyInjection/ScriptStartupTypeLocator.cs : 68 at Microsoft.Azure.WebJobs.WebJobsBuilderExtensions.UseExternalConfigurationStartup(IWebJobsConfigurationBuilder builder,IWebJobsStartupTypeLocator startupTypeLocator,WebJobsBuilderContext context,ILoggerFactory loggerFactory) at D:\a_work\1\s\src\Microsoft.Azure.WebJobs.Host\Hosting\WebJobsBuilderExtensions.cs : 362 at Microsoft.Azure.WebJobs.Script.ScriptHostBuilderExtensions.<>c__DisplayClass7_3.b__8(IWebJobsStartupTypeLocator locator) at //src/WebJobs.Script/ScriptHostBuilderExtensions.cs : 253 End of inner exception

Include each recipient's name in CC message

Is it possible to address each recipient individually in the message? Similar to a mail merge.
For example, if I wanted to use CC to send password expiration reminders, I want the message to specifically address each user by name, like "Dear Adele Vance, your password will expire in X days..."

System.NullReferenceException at Microsoft.Teams.Apps.CompanyCommunicator.Common.Services.Recipients.RecipientsService+<BatchRecipients>d__2.MoveNext

Using master version
I'm getting this error when sending messages:

image

Call Stack:

Microsoft.Azure.WebJobs.Host.FunctionInvocationException:
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor+d__26.MoveNext (Microsoft.Azure.WebJobs.Host, Version=3.0.34.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35: C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Host\Executors\FunctionExecutor.cs:352)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at System.Runtime.CompilerServices.TaskAwaiter1.GetResult (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e) at Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor+<TryExecuteAsync>d__18.MoveNext (Microsoft.Azure.WebJobs.Host, Version=3.0.34.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35: C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Host\Executors\FunctionExecutor.cs:108) Exceção interna System.NullReferenceException tratada em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw: at Microsoft.Teams.Apps.CompanyCommunicator.Common.Services.Recipients.RecipientsService+<BatchRecipients>d__2.MoveNext (Microsoft.Teams.Apps.CompanyCommunicator.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null: C:\home\site\repository\Source\CompanyCommunicator.Common\Services\Recipients\RecipientsService.cs:40) at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e) at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e) at Microsoft.Teams.Apps.CompanyCommunicator.Prep.Func.PreparingToSend.RecipientsActivity+<BatchRecipientsAsync>d__5.MoveNext (Microsoft.Teams.Apps.CompanyCommunicator.Prep.Func, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null: C:\home\site\repository\Source\CompanyCommunicator.Prep.Func\PreparingToSend\Activities\RecipientsActivity.cs:74) at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e) at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e) at System.Runtime.CompilerServices.TaskAwaiter1.GetResult (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at Microsoft.Azure.WebJobs.Host.Executors.FunctionInvoker2+<InvokeAsync>d__10.MoveNext (Microsoft.Azure.WebJobs.Host, Version=3.0.34.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35: C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Host\Executors\FunctionInvoker.cs:52) at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e) at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e) at System.Runtime.CompilerServices.TaskAwaiter1.GetResult (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor+d__33.MoveNext (Microsoft.Azure.WebJobs.Host, Version=3.0.34.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35: C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Host\Executors\FunctionExecutor.cs:581)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor+d__32.MoveNext (Microsoft.Azure.WebJobs.Host, Version=3.0.34.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35: C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Host\Executors\FunctionExecutor.cs:527)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult (System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor+d__26.MoveNext (Microsoft.Azure.WebJobs.Host, Version=3.0.34.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35: C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Host\Executors\FunctionExecutor.cs:306)

====================================================================================

Error building configuration in an external startup class. Update your NuGet package

Hi Cris

Recently I changed the repo to 5.31 to solve to problem with the new teams, but i'm getting an error on funcions

1 - I Changed the repo to 5.31master
2 - Disabled the secound front door
3 - Run the dotnet to v6 update ps1 script

but in all functions i get this error, can you help, its something with the NuGet package that i cant figure out

Message
Error building configuration in an external startup class.

Details
Microsoft.Azure.WebJobs.Script.ExternalStartupException : Error building configuration in an external startup class. ---> Microsoft.Azure.WebJobs.Script.HostInitializationException : One or more loaded extensions do not meet the minimum requirements. For more information see https://aka.ms/func-min-extension-versions. ExtensionStartupType ServiceBusWebJobsStartup from assembly 'Microsoft.Azure.WebJobs.ServiceBus, Version=3.0.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' does not meet the required minimum version of 4.2.1.0. Update your NuGet package reference for Microsoft.Azure.WebJobs.Extensions.ServiceBus to 4.2.1 or later. at Microsoft.Azure.WebJobs.Script.DependencyInjection.ScriptStartupTypeLocator.ValidateExtensionRequirements(List1 startupTypes) at /_/src/WebJobs.Script/DependencyInjection/ScriptStartupTypeLocator.cs : 335 at async Microsoft.Azure.WebJobs.Script.DependencyInjection.ScriptStartupTypeLocator.GetExtensionsStartupTypesAsync() at /_/src/WebJobs.Script/DependencyInjection/ScriptStartupTypeLocator.cs : 221 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.Azure.WebJobs.Script.DependencyInjection.ScriptStartupTypeLocator.<.ctor>b__10_0() at /_/src/WebJobs.Script/DependencyInjection/ScriptStartupTypeLocator.cs : 53 at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode) at System.Lazy1.ExecutionAndPublication(LazyHelper executionAndPublication,Boolean useDefaultConstructor) at System.Lazy1.CreateValue() at System.Lazy`1.get_Value() at Microsoft.Azure.WebJobs.Script.DependencyInjection.ScriptStartupTypeLocator.GetStartupTypes() at //src/WebJobs.Script/DependencyInjection/ScriptStartupTypeLocator.cs : 68 at Microsoft.Azure.WebJobs.WebJobsBuilderExtensions.UseExternalConfigurationStartup(IWebJobsConfigurationBuilder builder,IWebJobsStartupTypeLocator startupTypeLocator,WebJobsBuilderContext context,ILoggerFactory loggerFactory) at D:\a_work\1\s\src\Microsoft.Azure.WebJobs.Host\Hosting\WebJobsBuilderExtensions.cs : 362 at Microsoft.Azure.WebJobs.Script.ScriptHostBuilderExtensions.<>c__DisplayClass7_3.b__8(IWebJobsStartupTypeLocator locator) at //src/WebJobs.Script/ScriptHostBuilderExtensions.cs : 263 End of inner exception

Low image upload quality

Good afternoon, I have detected that when I load an image in a message the quality of it drops considerably, and the loading of files by URL does not work correctly, how can I solve this problem?

Rederização da mensagem

Bom dia, @cristianoag tudo bem?

Percebemos que após atualização para versão v5.31, todas as mensagens enviadas estão chegando aos destinatarios com um quadrado em branco. Por gentileza, você tem alguma solução para esse comportamento?

image

Company Communicator failed to upload CSV as Error the file is too big

There is an issue from my customer that when they uploads CSV with a picture it keeps always showing below error the file is too big, but in fact even there is only one email address with the CSV, it will be failed still except remove the image.

May I know if the app counts the whole things size together here? What's the limitation?
169306893-0a24fc54-4e93-40a2-81db-5ca7e775759c
.

Recipients not syncing after secret expired

Hi, I'm running the latest master version v5.31. Recently our secrets have expired, and what we did is that we generated new ones, and update them in key vault. Currently I'm receiving below error when trying to send a test message using a CSV file:
image

Failed to prepare the message for sending:The orchestrator function 'SyncRecipientsOrchestrator' failed: "The activity function 'SyncCSVActivity' failed: "Specified argument was out of the range of valid values. (Parameter 'partitionCount') Actual value was .". See the function execution logs for additional details.". See the function execution logs for additional details.

So I would need help with resolving this, and checking if I did not miss any secret update anywhere in the configuration.

Important Message is not working

Hi Cristiano,

Your version looks great but the Important message is not working for me. Do you have any idea why?

Thanks and stay safe.

Regards,
johnthen

Permissions needed. Ask your IT admin to enable this option for you in company communicator

Hello Team

I have configured this version and currently I have a problem with the permissions to send messages to M365 groups, Distribution groups, Security groups, permissions have been assigned in the AppGraph as indicated in the step by step https://github.com/cristianoag/microsoft-teams-apps-company-communicator/wiki/Deployment-Guide#4-add-permissions-to-your-app, even additional ones were assigned to validate the operation and it is not possible for the authors to have access.

MicrosoftTeams-image

What other settings or permissions should be taken into account?

MicrosoftTeams-image (1)

I have applied some solutions published here but to no avail:

message sending problem

good day,

image

Currently I am doing the implementation of the company with a client, I finish the implementation process, the author works well and the client is added correctly, but when I send a communication with the author, they do not send the messages to the team and they do not notify , the processes remain in sent, correct: 0 and error: 0, it returns and the process is tried, but it remains correct: 0 and errors: 1, would you like to validate that it could be an error?

currently disconnect the function and the app service, reconnecting them again, but even changing the git of the function implementation center, I don't solve it, they still don't notify the messages, they never arrive.

Before changing the implementation of the function, I got this error:

System.AggregateException: Failed to acquire token for client credentials. (AADSTS700016: Application with identifier '6857ae5c-416a-4714-bfce-2b08693dd410' was not found in the directory 'Bot Framework'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant.You may have sent your authentication request to the wrong tenant.
Trace ID: c9d1f58e-93dc-4680-b6dc-054f40f1e100
Correlation ID: 414ed2b7-6464-4721-a0d7-ccd3491bd501
Timestamp: 2022-08-01 20:36:03Z)
---> Microsoft.IdentityModel.Clients.ActiveDirectory.AdalServiceException: AADSTS700016: Application with identifier '6857ae5c-416a-4714-bfce-2b08693dd410' was not found in the directory 'Bot Framework'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant.
Trace ID: c9d1f58e-93dc-4680-b6dc-054f40f1e100
Correlation ID: 414ed2b7-6464-4721-a0d7-ccd3491bd501
Timestamp: 2022-08-01 20:36:03Z
---> Microsoft.IdentityModel.Clients.ActiveDirectory.AdalServiceException: Response status code does not indicate success: 400 (BadRequest).
at Microsoft.Identity.Core.OAuth2.OAuthClient.GetResponseAsync[T](Boolean respondToDeviceAuthChallenge)
ErrorCode: BadRequest
StatusCode: 400
--- End of inner exception stack trace ---
at Microsoft.Identity.Core.OAuth2.OAuthClient.GetResponseAsync[T](Boolean respondToDeviceAuthChallenge)
at Microsoft.Identity.Core.OAuth2.OAuthClient.GetResponseAsyncT
at Microsoft.IdentityModel.Clients.ActiveDirectory.Internal.Flows.AcquireTokenHandlerBase.SendHttpMessageAsync(IRequestParameters requestParameters)
at Microsoft.IdentityModel.Clients.ActiveDirectory.Internal.Flows.AcquireTokenHandlerBase.SendTokenRequestAsync()
at Microsoft.IdentityModel.Clients.ActiveDirectory.Internal.Flows.AcquireTokenHandlerBase.CheckAndAcquireTokenUsingBrokerAsync()
at Microsoft.IdentityModel.Clients.ActiveDirectory.Internal.Flows.AcquireTokenHandlerBase.RunAsync()
at Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext.AcquireTokenForClientCommonAsync(String resource, ClientKey clientKey)
at Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext.AcquireTokenAsync(String resource, ClientCredential clientCredential)
at Microsoft.Bot.Connector.Authentication.AdalAuthenticator.AcquireTokenAsync(Boolean forceRefresh)
at Microsoft.Bot.Connector.Authentication.Retry.Run[TResult](Func1 task, Func3 retryExceptionHandler)
ErrorCode: unauthorized_client
StatusCode: 400
--- End of inner exception stack trace ---
at Microsoft.Bot.Connector.Authentication.Retry.Run[TResult](Func1 task, Func3 retryExceptionHandler)
at Microsoft.Bot.Connector.Authentication.AdalAuthenticator.GetTokenAsync(Boolean forceRefresh)
at Microsoft.Bot.Connector.Authentication.AdalAuthenticator.Microsoft.Bot.Connector.Authentication.IAuthenticator.GetTokenAsync(Boolean forceRefresh)
at Microsoft.Bot.Connector.Authentication.AppCredentials.GetTokenAsync(Boolean forceRefresh)
at Microsoft.Bot.Connector.Authentication.AppCredentials.ProcessHttpRequestAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Bot.Connector.Conversations.ReplyToActivityWithHttpMessagesAsync(String conversationId, String activityId, Activity activity, Dictionary`2 customHeaders, CancellationToken cancellationToken)
at Microsoft.Bot.Connector.ConversationsExtensions.ReplyToActivityAsync(IConversations operations, String conversationId, String activityId, Activity activity, CancellationToken cancellationToken)
at Microsoft.Bot.Builder.BotFrameworkAdapter.SendActivitiesAsync(ITurnContext turnContext, Activity[] activities, CancellationToken cancellationToken)
at Microsoft.Bot.Builder.TurnContext.<>c__DisplayClass31_0.<g__SendActivitiesThroughAdapter|1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.Bot.Builder.TurnContext.SendActivityAsync(IActivity activity, CancellationToken cancellationToken)
at Microsoft.Teams.Apps.CompanyCommunicator.Common.Serv

Deployment failure for the app service

This a new deployment using https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fcristianoag%2Fmicrosoft-teams-apps-company-communicator%2Fmaster%2FDeployment%2Fazuredeploy.json

When we add the company communicator author app to Teams, it shows the below error.
image

I checked in the deployment center and found this error,
image

I've synced several times and the same error came out, May I know how I should solve this, please? @tiagomiotto Here are the logs
Error_Redeploy_.txt

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.