OfficeDev / microsoft-teams-apps-company-communicator

Company Communicator app template
MIT License
332 stars 403 forks source link

Clean up messages #1611

Open pablolimainfo opened 1 week ago

pablolimainfo commented 1 week ago

Hello, I need to clear the history of sent test messages while we test this solution. I thought about deleting data from "SendNotification Data" and "Notification Data", but I’m afraid to creating inconsistencies… Is there a procedure for that?

Thanks.

v-jaygupta commented 1 week ago

Hello @pablolimainfo, Thank you for contacting us! We added a feature to delete historical data in version 5.5 of Company Communicator application. Ensure you are using v5.5 or later to access this feature. If you are on any previous versions of the application and want to migrate to the lates version, please follow the steps. We do not recommend manually deleting data from tables in the storage account, as it might cause issues with the application.

v-jaygupta commented 1 week ago

@pablolimainfo , Could you please update us on the status of the issue?

pablolimainfo commented 1 week ago

Hello!

Sorry for the late response. We are using the latest version (5.5.2) but for some reason we can't see the button to delete historical data. I checked the environment variables (AuthorizedDeleteUpns, DisableDeleteUpnCheck, DataFunctionUrl) and it seems to be ok. Is there some documentation page with details about how enable this feature?

Thanks.

tiwariShiv7 commented 1 week ago

Hi @pablolimainfo, Ideally when you upgrade to our latest version it should show the delete option. Can you please share the screenshot of Deployment center and logs for all function apps (*-function)and web app (of type app service)

To navigate to deployment center.

pablolimainfo commented 1 week ago

Hello,

Just to give you some context, let me share the background I have. The company started using the app as early as 5.5.2.

There was no git version upgrade, but the business area asked to make small changes to the look and feel of the app application (nothing related to the area where this missing button is located).

In short, the official version 5.5.2 was deployed first and then a new customized version 5.5.2 was uploaded via FTPS. We are currently using this customized version.

App Service: Pasted Graphic Pasted Graphic 1

Function Apps: Pasted Graphic 2

Pasted Graphic 3

External Git

Pasted Graphic 5

Pasted Graphic 6

Pasted Graphic 7

Thanks.

v-jaygupta commented 1 week ago

@pablolimainfo , If an entry has been added to the field - AuthorizedDeleteUpns, please re-sync the app service. For re-sycning the app service please follow the below steps -

pablolimainfo commented 6 days ago

@v-jaygupta on click on "Sync" button, will the Deployment Center pull the code from Repository and override our customized version?