Hello Madhuri,
To generate Refresh Token
1] Response Type - Code
2] Scope - Is valid permission, you can give it according to your need. The same is mentioned in the AutomationEdge Beta Plugin Reference Guide.
3] Redirect URI - Any valid https URI is supported. ex - https://example.com (replace it with the desired URI, while creating App in Azure AD).
For example -
This query you can use as an example -
" https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id={client_id}&scope=files.read Files.Read.All offline_access User.Read &response_type=code"