Hi @Aliyya Amru we are sorry to hear you're facing this problem.
Based on this similar question you posted here (https://learn.microsoft.com/en-us/answers/questions/1607833/cannot-perform-this-action-when-created-function-a) it seems like your issue was resolved. Please let us know if you have further questions.
Best,
Grace