Update the values in an userFlowLanguagePage object. You may only update the values in an overridesPage, which is used to customize the values shown to a user during a user journey defined by a user flow.
Permissions
One of the following permissions is required to call this API. To learn more, including how to choose permissions, see Permissions.
Permission type
Permissions (from least to most privileged)
Delegated (work or school account)
IdentityUserFlow.ReadWrite.All
Delegated (personal Microsoft account)
Not supported.
Application
IdentityUserFlow.ReadWrite.All
The work or school account needs to belong to one of the following roles:
Global administrator
External Identity User Flow administrator
HTTP request
To reference the content within the object, you must use $value. This returns the content within the object and allows you to reference it directly.
PUT /identity/b2xUserFlows/{id}/languages/{id}/overridesPages/{id}/$value
Request headers
Name
Description
Authorization
Bearer {token}. Required.
Content-Type
application/json. Required.
Request body
In the request body, supply a JSON representation for the values contained within a userFlowLanguagePage.
Response
If successful, this method returns a 204 No Content response code.
PUT https://graph.microsoft.com/v1.0/identity/b2xUserFlows/B2X_1_Partner/languages/en/overridesPages/selfasserted1_1/$value
Content-Type: application/json
{
"LocalizedStrings": [
{
"ElementType": "UxElement",
"ElementId": null,
"StringId": "alert_message",
"Override": true,
"Value": "Are you sure that you want to cancel entering your information?"
}
]
}
var graphClient = new GraphServiceClient(requestAdapter);
var requestBody = new Microsoft.Graph.Identity.B2xUserFlows.Item.Languages.Item.OverridesPages.Item.Value.$valuePutRequestBody
{
AdditionalData = new Dictionary<string, object>
{
{
"LocalizedStrings" , new List<>
{
new
{
ElementType = "UxElement",
ElementId = null,
StringId = "alert_message",
Override = true,
Value = "Are you sure that you want to cancel entering your information?",
},
}
},
},
};
await graphClient.Identity.B2xUserFlows["{b2xIdentityUserFlow-id}"].Languages["{userFlowLanguageConfiguration-id}"].OverridesPages["{userFlowLanguagePage-id}"].Content.PutAsync(requestBody);
<?php
// THIS SNIPPET IS A PREVIEW FOR THE KIOTA BASED SDK. NON-PRODUCTION USE ONLY
$graphServiceClient = new GraphServiceClient($requestAdapter);
$requestBody = new $valuePutRequestBody();
$additionalData = [
'LocalizedStrings' => $localizedStrings1 = new ();
$ localizedStrings1->setElementType('UxElement');
$localizedStrings1->setElementId(null);
$ localizedStrings1->setStringId('alert_message');
$localizedStrings1->setOverride(true);
$ localizedStrings1->setValue('Are you sure that you want to cancel entering your information?');
$localizedStringsArray []= $localizedStrings1;
$requestBody->setLocalizedStrings($localizedStringsArray);
];
$requestBody->setAdditionalData($additionalData);
$graphServiceClient->identity()->b2xUserFlowsById('b2xIdentityUserFlow-id')->languagesById('userFlowLanguageConfiguration-id')->overridesPagesById('userFlowLanguagePage-id')->value()->put($requestBody);