pyaz/ad/app/permission/__init__.py
def grant(api, id, consent_type=None, expires=None, principal_id=None, scope=None):
    '''
    Grant the app an API Delegated permissions

    Required Parameters:
    - api -- Specify `RequiredResourceAccess.resourceAppId` - The unique identifier for the resource that the application requires access to. This should be equal to the appId declared on the target resource application.
    - id -- identifier uri, application id, or object id

    Optional Parameters:
    - consent_type -- Indicates if consent was provided by the administrator (on behalf of the organization) or by an individual.
    - expires -- Expiry date for the permissions in years. e.g. 1, 2 or "never"
    - principal_id -- If --consent-type is "Principal", this argument specifies the object of the user that granted consent and applies only for that user.
    - scope -- Specifies the value of the scope claim that the resource application should expect in the OAuth 2.0 access token, e.g. User.Read
    '''
    return _call_az("az ad app permission grant", locals())

    Grant the app an API Delegated permissions

    Required Parameters:
    - api -- Specify `RequiredResourceAccess.resourceAppId` - The unique identifier for the resource that the application requires access to. This should be equal to the appId declared on the target resource application.
    - id -- identifier uri, application id, or object id

    Optional Parameters:
    - consent_type -- Indicates if consent was provided by the administrator (on behalf of the organization) or by an individual.
    - expires -- Expiry date for the permissions in years. e.g. 1, 2 or "never"
    - principal_id -- If --consent-type is "Principal", this argument specifies the object of the user that granted consent and applies only for that user.
    - scope -- Specifies the value of the scope claim that the resource application should expect in the OAuth 2.0 access token, e.g. User.Read
    
Grant the app an API Delegated permissions
Required Parameters:
api -- Specify `RequiredResourceAccess.resourceAppId` - The unique identifier for the resource that the application requires access to. This should be equal to the appId declared on the target resource application.

Optional Parameters:
consent_type -- Indicates if consent was provided by the administrator (on behalf of the organization) or by an individual.
expires -- Expiry date for the permissions in years.
Grant the app an API Delegated permissions Required Parameters : api -- Specify ` RequiredResourceAccess . resourceAppId ` - The unique identifier for the resource that the application requires access to . This should be equal to the appId declared on the target resource application . Optional Parameters : consent_type -- Indicates if consent was provided by the administrator ( on behalf of the organization ) or by an individual . expires -- Expiry date for the permissions in years .
def grant(api, id, consent_type=None, expires=None, principal_id=None, scope=None):
    return _call_az("az ad app permission grant", locals())
def grant ( api , id , consent_type = None , expires = None , principal_id = None , scope = None ) : return _call_az ( "az ad app permission grant" , locals ( ) )
Grant the app an API Delegated permissions
Required Parameters:
 api -- Specify `RequiredResourceAccess.resourceAppId` - The unique identifier for the resource that the application requires access to.
Grant the app an API Delegated permissions Required Parameters : api -- Specify ` RequiredResourceAccess . resourceAppId ` - The unique identifier for the resource that the application requires access to .
'''
    Grant the app an API Delegated permissions

    Required Parameters:
    - api -- Specify `RequiredResourceAccess.resourceAppId` - The unique identifier for the resource that the application requires access to. This should be equal to the appId declared on the target resource application.
    - id -- identifier uri, application id, or object id

    Optional Parameters:
    - consent_type -- Indicates if consent was provided by the administrator (on behalf of the organization) or by an individual.
    - expires -- Expiry date for the permissions in years. e.g. 1, 2 or "never"
    - principal_id -- If --consent-type is "Principal", this argument specifies the object of the user that granted consent and applies only for that user.
    - scope -- Specifies the value of the scope claim that the resource application should expect in the OAuth 2.0 access token, e.g. User.Read
    '''
api
id
consent_type
expires
principal_id
scope