Skip to content

Commit a0a4c87

Browse files
authored
Merge pull request #8244 from MicrosoftDocs/main
Auto push to live 2025-02-18 02:00:08
2 parents 6be23a0 + 6a24631 commit a0a4c87

File tree

18 files changed

+152
-46
lines changed

18 files changed

+152
-46
lines changed

.openpublishing.redirection.developer.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6254,6 +6254,10 @@
62546254
{
62556255
"source_path": "support/developer/webapps/iis/www-modules-features/add-remove-global-modules.md",
62566256
"redirect_url": "/troubleshoot/developer/webapps/iis/www-administration-management/add-remove-global-modules"
6257+
},
6258+
{
6259+
"source_path": "support/mem/configmgr/update-management/error-0x800f0831-installing-update.md",
6260+
"redirect_url": "/troubleshoot/windows-server/installing-updates-features-roles/error-0x800f0831-installing-update"
62576261
}
62586262
]
62596263
}
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
title: Locked Booking Is Infeasible in Resource Scheduling Optimization
3+
description: Resolves issues with booking locks in the Resource Scheduling Optimization add-in for Microsoft Dynamics 365 Field Service.
4+
ms.author: AnilMur
5+
author: anilmur
6+
ms.reviewer: mhart
7+
ms.date: 02/18/2025
8+
ms.custom: sap:Resource Scheduling Optimization
9+
---
10+
# Locked booking is infeasible in Resource Scheduling Optimization
11+
12+
This article helps you resolve the "Locked booking is infeasible" error that occurs in the [Resource Scheduling Optimization add-in](/dynamics365/field-service/rso-overview) for Microsoft Dynamics 365 Field Service.
13+
14+
## Symptoms
15+
16+
When a [locked booking](/dynamics365/field-service/booking-lock-options) can't respect all defined constraints, the Resource Scheduling Optimization request continues but skips the identified resources that have violations. You might encounter the following error message:
17+
18+
> System failed to optimize some records. Inner error(s): Locked booking is infeasible, reason: Violation. Tracing data points: RequirementId, RequirementName, BookingId, BookingName, ScheduledTimeWindow, FullTimeWindow, ArrivalTime, Lock Type
19+
20+
## Cause
21+
22+
The tracing data points in the error message can help you identify what went wrong. The violation types include:
23+
24+
- Time window violations:
25+
26+
- The locked booking is outside of the resource's working hours.
27+
- The promised time window is invalid.
28+
- The travel time is invalid.
29+
- The locked booking conflicts with a [scheduled break time](/dynamics365/field-service/set-up-bookable-resources#add-work-hours).
30+
31+
- Eligibility check failures:
32+
33+
- **Meets Required Skills**. A locked booking has an invalid match to the [resource skill characteristics](/dynamics365/field-service/set-up-characteristics).
34+
- **Meets Required Roles**. A locked booking has an invalid match to the [resource role](/training/modules/configure-bookable-resources-urs-dynamics-field-service/).
35+
- **Meets Resource Preferences**. A locked booking has an invalid ["must choose from" or "restricted" resource](/dynamics365/field-service/resource-preferences).
36+
37+
For more information, see [Resource Scheduling Optimization constraints](/dynamics365/field-service/rso-optimization-goal#understand-constraints).
38+
39+
## Resolution
40+
41+
To solve the issue, update the booking settings, and then rerun Resource Scheduling Optimization:
42+
43+
1. Adjust the settings to resolve the identified violation. For example, update the [booking lock options](/dynamics365/field-service/booking-lock-options#booking-lock-options) or adjust the [Resource Scheduling Optimization constraints](/dynamics365/field-service/rso-optimization-goal#understand-constraints).
44+
1. Save the changes and [run the Resource Scheduling Optimization process](/dynamics365/field-service/rso-run-optimization) again.

support/dynamics-365/field-service/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@
6363

6464
- name: Resource Scheduling Optimization add-in
6565
items:
66+
- name: Locked booking is infeasible
67+
href: rso/locked-booking-infeasible.md
6668
- name: Optimization request fails to modify some bookings
6769
href: rso/system-failed-modify-bookings-error.md
6870
- name: '"Object reference not set to an instance of an object" error'

support/mem/configmgr/toc.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -359,8 +359,6 @@ items:
359359
href: update-management/different-software-updates-results-displayed.md
360360
- name: Errors when servicing a server group
361361
href: update-management/errors-servicing-server-group.md
362-
- name: Error 0x800f0831 installing updates
363-
href: update-management/error-0x800f0831-installing-update.md
364362
- name: .NET Framework 4.7.2 updates fail to sync
365363
href: update-management/dotnet-framework-updates-fail-to-sync.md
366364
- name: State messaging
-102 KB
Loading

support/mem/configmgr/update-management/troubleshoot-issues-with-wsus-client-agents.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ For more information about configuring Group Policy for WSUS clients, see [Confi
5252

5353
## Check for issues relating to BITS
5454

55+
> [!NOTE]
56+
> [Windows Update Delivery Optimization](/windows/deployment/do/waas-delivery-optimization) allows clients to download updates from Microsoft Update or a WSUS server for Windows 10, Windows 11, and server operating systems newer than Windows Server 2016. For more information, see [common issues with Delivery Optimization](/windows/deployment/do/delivery-optimization-troubleshoot) and [a comprehensive list of all Delivery Optimization settings](/windows/deployment/do/waas-delivery-optimization-reference).
57+
5558
Background Intelligent Transfer Service (BITS) is the service used by WSUS to download updates from Microsoft Update to the main WSUS server, and from WSUS servers to their clients. Some download issues may be caused by problems with BITS on the server or client computers. When you troubleshoot download problems, you should ensure that BITS is running properly on all affected computers.
5659

5760
The BITS service must run under the **LocalSystem** account by default. To configure the service to run under the correct account, follow these steps:

support/mem/intune/device-enrollment/troubleshoot-windows-auto-enrollment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Before you start troubleshooting, it's best to verify that everything is configu
2121

2222
- Verify that auto-enrollment is enabled for all users who will enroll the devices in Intune. For more information, see [Microsoft Entra ID and Microsoft Intune: Automatic MDM enrollment in the new Portal](/windows/client-management/mdm/azure-ad-and-microsoft-intune-automatic-mdm-enrollment-in-the-new-portal).
2323

24-
:::image type="content" source="media/troubleshoot-windows-auto-enrollment/verify-auto-enrollment.png" alt-text="Screenshot shows options to verify auto-enrollment." lightbox="media/troubleshoot-windows-auto-enrollment/verify-auto-enrollment.png"::::::
24+
:::image type="content" source="media/troubleshoot-windows-auto-enrollment/verify-auto-enrollment.png" alt-text="Screenshot shows options to verify auto-enrollment." lightbox="media/troubleshoot-windows-auto-enrollment/verify-auto-enrollment.png":::
2525

2626
- Verify that **MDM user scope** is set to **All** to allow all users to enroll a device in Intune.
2727
- Verify that **MAM User scope** is set to **None**. Otherwise, this setting will have precedence over the MDM scope and cause issues.

support/power-platform/power-automate/desktop-flows/cannot-connect-access-database-engine-ole-db.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
title: Cannot establish connection to Access Database Engine OLE DB
33
description: Provides a resolution for the issue that you can't establish a connection with database actions to Access Database Engine OLE DB in Power Automate for desktop.
4-
ms.reviewer: adija, pefelesk
5-
ms.date: 03/19/2024
4+
ms.reviewer: adija, pefelesk, iomavrid
5+
ms.date: 02/18/2025
66
ms.custom: sap:Desktop flows\Power Automate for desktop errors
77
---
88
# Can't establish a connection to Access Database Engine OLE DB
@@ -26,7 +26,7 @@ Consider the following scenario in Microsoft Power Automate for desktop:
2626

2727
This error message occurs because the appropriate 64-bit driver isn't installed on your machine. Kindly note that Power Automate for desktop is based on 64-bit architecture and thus is only compatible to 64-bit database drivers.
2828

29-
## Resolution
29+
## Workaround
3030

3131
Verify that you have 64-bit Access Database driver installed on your machine by going to ODBC Data Source Administrator (64-bit) application on windows and then the **Drivers** tab. If you don't see "Microsoft Access Driver" in the list, you need to download and install the 64-bit version from [Microsoft Access Database Engine 2016 Redistributable](https://www.microsoft.com/download/details.aspx?id=54920).
3232

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
---
2+
title: Expression Couldn't be Evaluated Error When Using Encrypted Text
3+
description: Provides a resolution for the Expression couldn't be evaluated error when using direct encrypted text in Power Automate for desktop.
4+
ms.reviewer: iomavrid
5+
author: yiannismavridis
6+
ms.author: iomavrid
7+
ms.date: 02/18/2025
8+
ms.custom: sap:Desktop flows\Power Automate for desktop errors
9+
---
10+
# "Expression couldn't be evaluated" error when using encrypted text
11+
12+
This article helps you resolve the "Expression couldn't be evaluated" error that occurs when you run a desktop flow with an action that uses direct input.
13+
14+
_Applies to:_   Power Automate
15+
16+
## Symptoms
17+
18+
A desktop flow with an action that uses direct input generates the following error when it's run on a machine different than the one where the flow was created:
19+
20+
> Failed with error: Expression couldn't be evaluated
21+
22+
For example,
23+
24+
- The **Direct password input** option:
25+
26+
:::image type="content" source="media/error-expression-could-not-be-evaluated/direct-password-input.png" alt-text="Screenshot that shows the Direct password input option in a desktop flow action.":::
27+
28+
- The **Direct encrypted text input** option:
29+
30+
:::image type="content" source="media/error-expression-could-not-be-evaluated/direct-encrypted-text-input.png" alt-text="Screenshot that shows the Direct encrypted text input option in a desktop flow action.":::
31+
32+
## Cause
33+
34+
The error occurs because direct inputs are encrypted using the local machine's [Data Protection API (DPAPI)](/dotnet/standard/security/how-to-use-data-protection) and can't be decrypted when the flow is run on another machine.
35+
36+
This limitation is highlighted when you hover over the info icon if any of the direct input options is selected.
37+
38+
:::image type="content" source="media/error-expression-could-not-be-evaluated/encrypted-tooltip.png" alt-text="Screenshot that shows the tooltip that provides additional information about the limitations of using direct encrypted text or password input.":::
39+
40+
## Resolution
41+
42+
To run the flow on a different machine, modify the flow to use [sensitive variables](/power-automate/desktop-flows/manage-variables#sensitive-variables/power-automate/desktop-flows/manage-variables#sensitive-variables).
43+
44+
1. Open the desktop flow in Power Automate for desktop.
45+
1. Locate the action that uses direct password input or direct encrypted text input.
46+
1. Replace the direct input with a sensitive variable:
47+
1. Select the **Password input as variable** or **Input as text, variable or expression** option to use a variable as a password input or text input.
48+
1. Choose a variable that's marked as sensitive.
49+
1. Save the modified flow and test it on a different machine to ensure that the error is resolved.
50+
51+
## More information
52+
53+
[Use passwords in certain actions within desktop workflows](/power-automate/desktop-flows/how-to/use-passwords)
32.8 KB
Loading

0 commit comments

Comments
 (0)