Hi
Thanks for reaching out to Microsoft Q&A.
Looks like you are running some heavy query which is making the tempdb full.
Is the solution for this to increase the number of DWUs?
Yes you can increase. For every DW100c configured 399 GB of TEMPDB space will be allocated...see below.
Or is there a way to change the rcclass which increases the storage space?
Resource class are pre-determined resource limit at user level and only manages the workloads, not the storage.
The below link will be useful to your case as it has troubleshooting and mitigation steps for tempdb issues. You can use the query to find & kill the troublesome sessions as a quick fix.
Please Upvote and Accept as answer if the reply was helpful, this will be helpful to other community members.