Skip to content

Commit 2788abb

Browse files
committed
Removed commented lines
1 parent 945e8a2 commit 2788abb

1 file changed

Lines changed: 3 additions & 25 deletions

File tree

source/Private/Set-FabConfig.ps1

Lines changed: 3 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,10 @@ Set-PSFConfig -Name 'FabricTools.FabricSession.TokenExpiresOn' -Value $null -Val
1111
Set-PSFConfig -Name 'FabricTools.FabricSession.AccessToken' -Value $null
1212

1313
Set-PSFConfig -Name 'FabricTools.KustoApi.BaseUrl' -Value 'https://api.kusto.windows.net'
14+
Set-PSFConfig -Name 'FabricTools.AzureApi.BaseUrl' -Value "https://management.azure.com"
1415

15-
#$script:FabricSession = [ordered]@{
16-
#BaseApiUrl = 'https://api.fabric.microsoft.com/v1'
17-
#ResourceUrl = 'https://api.fabric.microsoft.com'
18-
#HeaderParams = $null
19-
#ContentType = @{'Content-Type' = "application/json" }
20-
#KustoURL = "https://api.kusto.windows.net"
21-
#AccessToken = $null
22-
#}
23-
24-
Set-PSFConfig -Name 'FabricTools.AzureApi.BaseUrl' -Value "https://management.azure.com"
25-
26-
Set-PSFConfig -Name 'FabricTools.AzureSession.AccessToken' -Value $null
27-
Set-PSFConfig -Name 'FabricTools.AzureSession.Headers' -Value @{}
28-
16+
Set-PSFConfig -Name 'FabricTools.AzureSession.AccessToken' -Value $null
17+
Set-PSFConfig -Name 'FabricTools.AzureSession.Headers' -Value @{}
2918

3019
$script:AzureSession = [ordered]@{
3120
BaseApiUrl = "https://management.azure.com"
@@ -35,19 +24,8 @@ $script:AzureSession = [ordered]@{
3524

3625
Set-PSFConfig -Name 'FabricTools.PowerBiApi.BaseUrl' -Value "https://api.powerbi.com/v1.0/myorg"
3726

38-
# $script:PowerBI = [ordered]@{
39-
# BaseApiUrl = "https://api.powerbi.com/v1.0/myorg"
40-
# }
41-
4227
$FabricConfig = @{
4328
BaseUrl = "https://api.fabric.microsoft.com/v1"
44-
# ResourceUrl = "https://api.fabric.microsoft.com"
45-
# FabricHeaders = @{}
46-
# TenantId = ""
47-
# TokenExpiresOn = ""
48-
# FeatureFlags = @{
49-
# EnableTokenRefresh = $true
50-
# }
5129
}
5230

5331
Set-PSFConfig -Name 'FabricTools.FeatureFlags.EnableTokenRefresh' -Value $true -Validation bool

0 commit comments

Comments
 (0)