Hi Simon Sorour,
To earn the Azure Solutions Architect Expert certification, you must pass AZ-305 and have an active AZ-104 certification. Since your AZ-104 is expired, you can still take the AZ-305 exam, but you won’t receive the certification or badge until AZ-104 is active again. If it expired within the last 6 months, you might be able to renew it for free online; otherwise, you’ll need to retake the exam. It's best to renew or retake AZ-104 before taking AZ-305 to ensure you get the full certification.
If the information is helpful, please Accept Answer & Upvote so that it would be helpful to other community members.