We use a PowerApps portal for end users to submit cases to IT. This has worked fine until a couple of nights ago. Now when people attempt to submit a case (fill out all required fields and click submit), they get a banner error stating "Attribute: statecode cannot be set to NULL" and the case is not saved. The only change I made to the system was to add a new Status Reason (statuscode).
We've tried the following:
- Deleted the new Status Reason choice value
- Use the Portal Management --> Basic Forms --> Customer Service - Create Case --> Entity Form Metadata settings to manually force StateCode to 0 (Active)
- Created a new form to use to create cases
- Restarted the Portal
- Cleared the portal cache using the /_services/about page
- Cleared the Config using the /_services/about page
- used different browsers and different logins
We can manually create cases using the same form through the CRM UI, using other forms in the CRM UI, using D365 for Outlook add-in, using email to Case automatic record creation (although only some people in the company are allowed to use that). Nothing seems to help. We have no custom plugins registered, there are no offending business rules, and no failed system jobs.
I'm at a loss.
Any help is appreciated.