Hi @Yigit Özleyen · Welcome to Q&A platform and thank you for reaching out.
From your question, I understood that "AA" is the client application that you will be using to access SharePoint. In conditional access policy, you can only specify cloud apps and not the client apps. Under client apps blade, you can only select below clients:
List of other clients is available here: https://aka.ms/caclientapps
There is no option to select the client app that you have registered. It can be added as cloud app but the above If-Else block can't be achieved that way.
I would suggest you to post this idea at our Feedback Portal which is monitored by the product team.
-----------------------------------------------------------------------------------------------------------
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.