Scope Parameter (Connect-SAPGateway Cmdlet)
The permission scopes in space separated values. This is required when authenticating via OAuth2.0 flow.
Syntax
Connect-SAPGateway -Scope string
Data Type
cstr
Default Value
""
Remarks
Scopes are set to define what kind of access the authenticating user will have; for example, read, read and write, restricted access to sensitive information. System administrators can use scopes to selectively enable access by functionality or security clearance.
When InitiateOAuth is set to GETANDREFRESH, you must use this property if you want to change which scopes are requested.
When InitiateOAuth is set to either REFRESH or OFF, you can change which scopes are requested using either this property or the Scope input.
Scopes are set to define what kind of access the authenticating user will have; for example, read, read and write, restricted access to sensitive information. System administrators can use scopes to selectively enable access by functionality or security clearance.
When InitiateOAuth is set to GETANDREFRESH, you must use this property if you want to change which scopes are requested.
When InitiateOAuth is set to either REFRESH or OFF, you can change which scopes are requested using either this property or the Scope input.
The permission scopes you have configured when creating the service user for the OAuth 2.0 client, in space separated values. This is required when authenticating via OAuth2.0 flow.