Skip to content

Commit 68c8383

Browse files
CopilotbgavrilMS
andauthored
Update Service Fabric managed identity API version to 2020-05-01 (#5781)
* Initial plan * Update Service Fabric managed identity API version from 2019-07-01-preview to 2020-05-01 Co-authored-by: bgavrilMS <12273384+bgavrilMS@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: bgavrilMS <12273384+bgavrilMS@users.noreply.github.com>
1 parent f0d26a5 commit 68c8383

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/client/Microsoft.Identity.Client/ManagedIdentity/ServiceFabricManagedIdentitySource.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ namespace Microsoft.Identity.Client.ManagedIdentity
1414
{
1515
internal class ServiceFabricManagedIdentitySource : AbstractManagedIdentity
1616
{
17-
private const string ServiceFabricMsiApiVersion = "2019-07-01-preview";
17+
private const string ServiceFabricMsiApiVersion = "2020-05-01";
1818
private readonly Uri _endpoint;
1919
private readonly string _identityHeaderValue;
2020

tests/Microsoft.Identity.Test.Common/Core/Mocks/MockHttpManagerExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ private static MockHttpMessageHandler BuildMockHandlerForManagedIdentitySource(
510510
case ManagedIdentitySource.ServiceFabric:
511511
httpMessageHandler.ExpectedMethod = HttpMethod.Get;
512512
expectedRequestHeaders.Add("secret", "secret");
513-
expectedQueryParams.Add("api-version", "2019-07-01-preview");
513+
expectedQueryParams.Add("api-version", "2020-05-01");
514514
expectedQueryParams.Add("resource", resource);
515515
break;
516516
case ManagedIdentitySource.MachineLearning:

0 commit comments

Comments
 (0)