Hi @HideyoshiAkaio ,
Thank you for using Microsoft Q&A platform and thanks for your question.
In Azure Data Factory lookup activity can only run queries and cannot execute ADX commands. To execute ADX commands in ADF, you can use the Azure Data Explorer Command activity.
Once you have configured the Azure Data Explorer Command activity, you can use it in your pipeline to execute ADX commands.
Hope this helps. Do let us know if you any further queries.
If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.