Experimental browser for the Atmosphere
#sqlhelp #dbatools I have code that generates a token and then uses Connect-DbaInstance. It works currently but when I add -AsSecureString to Get-AzAccessToken I get an error "Error connecting to [xxx]: Login failed for user '<token-identified principal>'." from Connect-DbaInstance. Any ideas why?
May 9, 2025, 7:33 PM
{
"tags": [],
"text": "#sqlhelp #dbatools I have code that generates a token and then uses Connect-DbaInstance. It works currently but when I add -AsSecureString to Get-AzAccessToken I get an error \"Error connecting to [xxx]: Login failed for user '<token-identified principal>'.\" from Connect-DbaInstance. Any ideas why?",
"$type": "app.bsky.feed.post",
"langs": [
"en"
],
"facets": [
{
"$type": "app.bsky.richtext.facet",
"index": {
"byteEnd": 8,
"byteStart": 0
},
"features": [
{
"tag": "sqlhelp",
"$type": "app.bsky.richtext.facet#tag"
}
]
},
{
"$type": "app.bsky.richtext.facet",
"index": {
"byteEnd": 18,
"byteStart": 9
},
"features": [
{
"tag": "dbatools",
"$type": "app.bsky.richtext.facet#tag"
}
]
}
],
"createdAt": "2025-05-09T19:33:51.289Z"
}