Paging Alex Tereshenkov! I'm trying to run your script located here:
but I'm getting an error when I get to here:
'''return database connection string for the service'''
TypeError: list indices must be integers, not str
Any ideas? This looks very useful!
Does the service have multiple layers using different connections? I'm not sure of the format of the JSON that's returned, but there's a list somewhere in there that you'll need to loop through. I would print the data variable and see what it stores.
Hello, I am also having this problem. I with some help I have found that return data['SVCManifest']['Databases']['SVCDatabase']['OnPremiseConnectionString'] works. Note  is the first in a list. Does any have code to loop through it?