Base solution for your next web application
Open Closed

LastUpdatedUserId is NULL #11340


User avatar
0
zdeen created

Hi , We are using this version of ASPNET ZERO:

ASP.NET CORE & Angular .NET Core 2.2 v7.2.3

We have a multi tenant application (still in staging but some users are testing it for a production launch) and found that one tenant was moved to Inactive state,

From the tenants table it appears that indeed tenant was updated to ne Inactive but the LastModifiedUserId is NULL.

I have few audit logs pushed to LogAnalytics ( custom implementation) but dotn't see anything at that time

This makes me believe that may be some Background job might have updated this Tenant.

Could you please let me know if there are any case where background jobs may update the Tenant and what can be the reason for LastUpdatedUserId being NULL.

Thanks a lot for the help.


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    There is SubscriptionExpirationCheckWorker which can be found under *.Core project's MultiTenancy folder. This moves tenant to passive state if tenant's EditionId is set and its SubscriptionEndDateUtc is expired.