diff --git a/powerbi-ps/MicrosoftPowerBIMgmt.Profile/Connect-PowerBIServiceAccount.md b/powerbi-ps/MicrosoftPowerBIMgmt.Profile/Connect-PowerBIServiceAccount.md index 1616294..5225e80 100644 --- a/powerbi-ps/MicrosoftPowerBIMgmt.Profile/Connect-PowerBIServiceAccount.md +++ b/powerbi-ps/MicrosoftPowerBIMgmt.Profile/Connect-PowerBIServiceAccount.md @@ -14,25 +14,28 @@ Log in to the Power BI service. ### User (Default) ``` -Connect-PowerBIServiceAccount [-Environment ] [] +Connect-PowerBIServiceAccount [-Environment ] [-CustomEnvironment ] + [-DiscoveryUrl ] [] ``` ### ServicePrincipal ``` -Connect-PowerBIServiceAccount [-Environment ] -Credential - [-ServicePrincipal] [-Tenant ] [] +Connect-PowerBIServiceAccount [-Environment ] [-CustomEnvironment ] + -Credential [-ServicePrincipal] [-Tenant ] [-DiscoveryUrl ] + [] ``` ### UserAndCredential ``` -Connect-PowerBIServiceAccount [-Environment ] -Credential - [] +Connect-PowerBIServiceAccount [-Environment ] [-CustomEnvironment ] + -Credential [-DiscoveryUrl ] [] ``` ### ServicePrincipalCertificate ``` -Connect-PowerBIServiceAccount [-Environment ] -CertificateThumbprint - -ApplicationId [-ServicePrincipal] [-Tenant ] [] +Connect-PowerBIServiceAccount [-Environment ] [-CustomEnvironment ] + -CertificateThumbprint -ApplicationId [-ServicePrincipal] [-Tenant ] + [-DiscoveryUrl ] [] ``` ## DESCRIPTION @@ -119,6 +122,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -CustomEnvironment +The custom environment to use for the environments returned from the discovery url. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DiscoveryUrl +The discovery url to get the backend services info from. Custom environment must also be supplied. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Environment Cloud environment to connect against. Default is Public. diff --git a/powerbi-ps/MicrosoftPowerBIMgmt.Profile/Invoke-PowerBIRestMethod.md b/powerbi-ps/MicrosoftPowerBIMgmt.Profile/Invoke-PowerBIRestMethod.md index cf867a8..d7c1bb5 100644 --- a/powerbi-ps/MicrosoftPowerBIMgmt.Profile/Invoke-PowerBIRestMethod.md +++ b/powerbi-ps/MicrosoftPowerBIMgmt.Profile/Invoke-PowerBIRestMethod.md @@ -14,8 +14,8 @@ Executes a REST call to the Power BI service, with the specified URL and body. ``` Invoke-PowerBIRestMethod -Url -Method [-Body ] [-OutFile ] - [-ContentType ] [-Headers ] [-Organization ] [-Version ] - [] + [-ContentType ] [-Headers ] [-TimeoutSec ] [-Organization ] + [-Version ] [] ``` ## DESCRIPTION @@ -125,6 +125,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -TimeoutSec +Specifies how long the request can be pending before it times out. Enter a value in seconds. Entering a value of 0 specifies an indefinite time-out. + +```yaml +Type: Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 100 +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Url Relative or absolute URL of the Power BI entity you want to access. For example, if you want to access https://api.powerbi.com/v1.0/myorg/groups, then specify 'groups', or pass in the entire URL.