Cheena Malhotra
e26937b101
Touch up MSAL errors ( #22906 )
2023-04-28 21:22:26 -07:00
Cheena Malhotra
ed8149599c
Update error for ignored tenants ( #22881 )
2023-04-28 16:19:29 -07:00
Cheena Malhotra
c04b8af1d2
Prompt user to refresh account credentials for AADSTS70043 and AADSTS50173 error codes ( #22853 )
2023-04-27 20:44:22 -07:00
Charles Gagnon
5ba8369cb0
Fix Azure rest calls not working ( #22854 )
2023-04-25 19:29:32 -07:00
Charles Gagnon
167ef2fea8
Finish up no-unsafe-assignment fixes in azurecore ( #22836 )
...
* Finish up no-unsafe-assignment fixes in azurecore
* Add link to typings
* Remove unused
* Ignore webpack file
2023-04-24 14:13:00 -07:00
Charles Gagnon
7f388dd420
Add azurecore HTTP typings ( #22828 )
...
* Add azurecore HTTP typings
* undo + spelling fix
2023-04-24 10:39:02 -07:00
Cheena Malhotra
2247d5de88
Prevent reconnects for mssql provider ( #22825 )
2023-04-21 16:56:40 -07:00
Charles Gagnon
3bd85a5798
Move stringifying of request body for azure REST calls ( #22820 )
...
* Move stringifying of request body for azure REST calls
* spelling
* Remove unused
2023-04-21 13:27:11 -07:00
Charles Gagnon
651f1ed85b
Few more no-unsafe-assignment cleanups ( #22818 )
2023-04-21 11:27:03 -07:00
Cheena Malhotra
8613176817
Cache access tokens in local cache file to prevent MSAL throttling ( #22763 )
2023-04-20 13:55:30 -07:00
Cheena Malhotra
6186358001
Rename 'body' to 'data' to prevent breaking change ( #22761 )
2023-04-18 18:04:51 -07:00
Charles Gagnon
4a4580e9ef
More azurecore cleanup ( #22748 )
...
* More azurecore cleanup
* convert to any
* Fix name
2023-04-17 10:29:49 -07:00
Cheena Malhotra
47bf7efd4a
Reset IV/Key if MSAL cache file decryption fails ( #22733 )
2023-04-14 15:45:37 -07:00
Christopher Suh
62c2fd3290
add ms graph endpoint for us gov ( #22574 )
2023-04-12 14:58:58 -07:00
Christopher Suh
6857718cb3
Fix http request format ( #22618 )
...
* fix http request format
* encode to utf 8 and add body for put requests
* encode proxy request body
* change ?.data to ?.body
* add note for textencoder
* change content-type to application/json
2023-04-10 14:36:35 -07:00
Christopher Suh
e7a5ea6ee8
Add No Resources Found label under azure browse ( #22660 )
...
* Add No Resources Found label under azure browse
* update localize message
* add period
2023-04-10 10:27:01 -07:00
Charles Gagnon
6a2ec12a35
Fix some no unsafe assignment errors in azurecore ( #22643 )
2023-04-06 16:50:24 -07:00
Christopher Suh
ccd5775093
Update remaining Axios calls ( #22525 )
...
* initial commit adding put and delete operations
* change response.data => response.body
* add client response interface
* add error to interface
* add reqHeaders
2023-03-31 12:22:31 -07:00
Christopher Suh
2e1689b44d
Add warning message when pii logging enabled ( #22533 )
...
* add warning message when pii logging enabled
* fix typo
* Update extensions/azurecore/src/localizedConstants.ts
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com >
* update warning message
---------
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com >
2023-03-30 14:44:25 -07:00
Christopher Suh
87fb3f9b86
Add kusto endpoints for non-public clouds ( #22515 )
...
* add kusto endpoints for non-public clouds
* fix endpoints
2023-03-29 11:42:38 -07:00
Cory Rivera
97eb69477e
Remove unused files in sql and extensions folders ( #22444 )
2023-03-27 16:40:32 -07:00
Christopher Suh
738987c4d5
Show message indicating that ADAL is being deprecated ( #22432 )
...
* show message indicating that ADAL is being deprecated
* pr comments update
* added settings deprecation message
* fix deprecation message
2023-03-24 14:42:45 -07:00
Cheena Malhotra
8d49b15b53
Skip forceRefresh for full (owning) tenant ( #22421 )
2023-03-23 21:01:03 -07:00
Christopher Suh
00897fc513
Replace Axios calls with HttpClient ( #22417 )
...
* replace axios calls with httpClient
* add latest files
* fix url
2023-03-23 13:47:25 -07:00
Cheena Malhotra
43f97f4f56
Handle out of sync extension activations for encryption keys updated event ( #22415 )
2023-03-22 22:23:03 -07:00
Cheena Malhotra
94b3261276
Notify STS when encryption keys are updated in azurecore ( #22384 )
2023-03-22 11:46:30 -07:00
Alan Ren
aa47729f90
fix find parent node issue ( #22356 )
...
* fix find parent node issue
* sts update
* fix errors
* pr comments and a fix
2023-03-20 08:20:11 -07:00
Cheena Malhotra
4b02c26a52
MSAL cache encryption + log improvements ( #22335 )
2023-03-16 16:53:16 -07:00
Cheena Malhotra
c163830bc4
Use Preferred username over email as 'user' property ( #22288 )
2023-03-09 20:25:07 -08:00
Cheena Malhotra
f51fe75397
Null & Error handling in Azure core ( #22259 )
2023-03-09 14:34:39 -08:00
Cheena Malhotra
aa350f7e49
Enable SQL Auth Provider support ( #21903 )
2023-03-03 12:49:01 -08:00
Christopher Suh
20c290aa91
Better error messages from connection failures in MSAL ( #22065 )
...
* better error messages from connection failures in MSAL\, fix typo
* cleanup
* pr comments
* rename error interface
* address pr comments
* update api
* fix typings
* change one more typing
* fix build
* fix tests
2023-03-02 15:38:12 -08:00
Christopher Suh
b7e0bbb64a
Update api to pass more detailed error messaging from azurecore ( #22003 )
...
* update api to pass more detailed error messaging from azurecore
* fix formatting
* fix buid error
* fix pr comments
* move to azdata.proposed.d.ts
* pr comments
* Update extensions/azurecore/src/account-provider/auths/azureAuth.ts
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com >
* refactor
* pr comments
* Update src/sql/workbench/services/accountManagement/browser/accountManagementService.ts
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com >
* pr comments
* Update src/sql/azdata.proposed.d.ts
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com >
* Update extensions/azurecore/src/account-provider/auths/azureAuth.ts
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com >
* fix formatting
* fix compile error
* fix compile error
* pr comments
---------
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com >
2023-02-23 13:00:18 -08:00
Christopher Suh
8f638be687
remove germany and us national clouds ( #21825 )
2023-02-02 16:11:04 -08:00
Christopher Suh
51da512edb
Fix Cloud Endpoints ( #21805 )
...
* replace hardcoded endpoints
* cleanup
2023-02-01 12:32:47 -08:00
Cheena Malhotra
84fd46c901
Do not show warning messages for stale accounts ( #21621 )
2023-01-24 16:21:43 -08:00
Cheena Malhotra
9708b470c7
Azure core | Include alternate library accounts if found ( #21565 )
2023-01-11 16:05:20 -08:00
Cheena Malhotra
b9e8a87472
Fix resource endpoints to end with slash ( #21540 )
2023-01-06 17:53:09 -08:00
Cheena Malhotra
ec7e754009
Handle default tenant to be set when only 1 tenant exists ( #21532 )
2023-01-05 16:40:16 -08:00
Cheena Malhotra
36484d38e6
Support locking cache file when writing and handles syntax error when reading ( #21469 )
2023-01-04 11:50:17 -08:00
Cheena Malhotra
8032d50768
Introduce Azure Synapse Analytics and Dedicated SQL Pools azure nodes ( #21471 )
2022-12-22 17:41:11 -08:00
Cheena Malhotra
112de46723
Fix ADAL to MSAL transition of connections and account list ( #21425 )
2022-12-15 16:38:45 -08:00
Cheena Malhotra
abc7ada902
Fallback to 'common' tenant if 'tid' not found ( #21388 )
2022-12-12 12:31:14 -08:00
Cheena Malhotra
511523d002
Introduce inbuilt MsalCachePlugin to replace msal-node-extensions ( #21335 )
2022-11-30 21:23:32 -08:00
Cheena Malhotra
23dfd690a6
Refresh token with SqlToolService session update ( #21308 )
2022-11-29 15:26:15 -08:00
Cheena Malhotra
405b3bbfdb
Fix default auth and 'AzureTenantId' to persist and not reset on selection event ( #21289 )
2022-11-23 17:39:03 -08:00
Christopher Suh
86c3f315f2
Add MSAL Authentication Library support ( #21024 )
2022-11-23 14:06:44 -08:00
Cheena Malhotra
dec3c020c5
Fix Browse azure tab not populating right tenant ( #21276 )
2022-11-19 00:49:56 -08:00
Christopher Suh
0bc5f68d29
Fix prompt for auth/device auth method ( #21272 )
2022-11-18 15:17:46 -08:00
Cheena Malhotra
85fad2360c
Fix tenant Id design for Azure accounts ( #21086 )
2022-11-03 11:04:37 -07:00