Get modern folder name or orchestrator

feel free to elaborate more on the details of this

otherwise, we mentioned alternates as well above

Is it possible to share the sample code please

It is not returing any value

Any help please…i know i am missing something

what was done in detail?

For getting details of the orchestrator it best approach is use API