I've created an azure bot and application using teams toolkit, but it doesn't seem to be owned by the tenant I'm in. I want to change the password of this application, how do I find the owner of this application to change the secret?
Azure Bot Config 
resources

enterprise application page 
When using Teams Toolkit, you will login 2 accounts:
The AAD app created for your Azure Bot Registration is under your M365 tenant. So you need to find the AAD app there.
If there're multiple similar AAD application under your M365 tenant, you can find the AAD app client id in
.fx/configs/states/state.{env}.json. It's stored in thebotIdfield under thefx-resource-botproperty: