powerplatform-actions icon indicating copy to clipboard operation
powerplatform-actions copied to clipboard

Add maximum wait time for async requests as parameter/attribute to Import Solution action

Open korytiak opened this issue 4 years ago • 1 comments

For larger projects, some solutions will go past 60 minutes which is set as a default in pac. However it is possible to pass other value this way:

-max-async-wait-time: Maximum asynchronous wait time in minutes. Default value is 60 mintues (alias: -wt)

Could you please make use of this existing functionality and expose an attribute to set this value? It would be very much appreciated.

korytiak avatar May 28 '21 19:05 korytiak

@korytiak that by itself won't help in all situation, e.g. when using appID/ClientSecret authN, the OAuth access token expires after 60 min and the current MSAL ConfidentialClientAppBuilder doesn't offer to reacquire a new AT using the refresh token. See also #86

davidjenni avatar Jun 09 '21 05:06 davidjenni