Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recipients not syncing after secret expired #76

Open
ostromecko opened this issue Feb 14, 2024 · 18 comments
Open

Recipients not syncing after secret expired #76

ostromecko opened this issue Feb 14, 2024 · 18 comments
Assignees

Comments

@ostromecko
Copy link

ostromecko commented Feb 14, 2024

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.

@luishdemetrio
Copy link
Collaborator

Hi @ostromecko, could you please share the function execution logs?

The Log Stream is a feature in Azure that allows you to view the live logging information directly in the Azure portal. Here’s how you can use it:

  1. Navigate to your function app in the Azure portal.
  2. Select the Monitoring section.
  3. Click on Log Stream.

Once you’re in the Log Stream, you should start seeing logs as your functions execute. If you don’t see any logs, make sure your function app is running and executing functions.

@ostromecko
Copy link
Author

Hi @luishdemetrio, which function from the three functions I should open and check if there are logs? Data-Function, Function or Prep-function?
And what you mean by "make sure your function app is running and executing functions."? Company communicator is an app which is used ad-hoc.

@ostromecko
Copy link
Author

Hi @luishdemetrio, can you please support me with the check if the functions are executed?

@ostromecko
Copy link
Author

Hi @ostromecko, could you please share the function execution logs?

The Log Stream is a feature in Azure that allows you to view the live logging information directly in the Azure portal. Here’s how you can use it:

  1. Navigate to your function app in the Azure portal.
  2. Select the Monitoring section.
  3. Click on Log Stream.

Once you’re in the Log Stream, you should start seeing logs as your functions execute. If you don’t see any logs, make sure your function app is running and executing functions.

@luishdemetrio I have opened Log stream, but it's constantly loading and not showing anything. Can you please support on this?

@ostromecko
Copy link
Author

@cristianoag could you help me with this issue?

@cristianoag
Copy link
Owner

cristianoag commented Mar 22, 2024 via email

@ostromecko
Copy link
Author

Currently I'm facing this issue:
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.

@cristianoag
Copy link
Owner

cristianoag commented Mar 22, 2024 via email

@ostromecko
Copy link
Author

of course. I'm attaching file which I'm using.
companycomm.csv

@cristianoag
Copy link
Owner

I've just tested, and the format you provided appears to be in order and is being recognized. I suggest considering a few potential areas for investigation.

Verify if all functions are correctly configured to access the appropriate keys in KeyVault. Assuming you've already done this, another possibility could be discrepancies between the versions of functions being run compared to the version of the app service. It's essential to ensure that all resources are synchronized to the same version. I recommend checking the synchronization log file for any errors or inconsistencies.

@ostromecko
Copy link
Author

I have checked all three functions and app service. All four instances are pointing to the same commit ID 9d9ce88.

@cristianoag
Copy link
Owner

cristianoag commented Mar 22, 2024 via email

@ostromecko
Copy link
Author

No. I was even testing this with a file which was containing only two email address (mine, and my colleague) and still it was not working

@cristianoag
Copy link
Owner

cristianoag commented Mar 22, 2024 via email

@ostromecko
Copy link
Author

UPN matches e-mail address in our case.

@cristianoag
Copy link
Owner

cristianoag commented Mar 22, 2024 via email

@ostromecko
Copy link
Author

Unfortunatly the log stream for me is constantly loading, and it doesn't provide any logs
image

Or I can collect them in different way?

@onealll
Copy link

onealll commented Aug 19, 2024

@cristianoag Im facing the same problem, all my secrets has expired, you have any script to do the secrets update to the keyvault?
or can you tell me what to do exacly to update?, im using versing 5.31
expired
The problem is this, when I try to select the users to send the message, Im reciving this messagem:
imagem

"Permissions required. Ask your IT administrator to enable this option for you"

Im assuming this message is becouse of the expired secredts that don allow access to groups/users of m365

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants