Cannot Unlock Taskbar Pinning with LimitedAccessFeatureStatus

Taw 0 Reputation points
2025-02-13T10:27:26.75+00:00

I want to pin my application to the taskbar. I followed the steps here, obtained my LAF keys from Microsoft, and now I am trying to implement the feature. Not sure if the LAF keys are bound to a specific application name have other restrictions.

I attempted to use two different functions (both C++ and C#), one from Chromium and one from Microsoft samples. For both, I receive a "Feature not available" message when calling the Status/getStatus function.

My C# code is as follows:

public static readonly string Feature = "com.microsoft.windows.taskbar.pin";
public static readonly string Token = <token1 received from MS>;
public static readonly string Attestation = "
<token2 received from MS> has registered their use of com.microsoft.windows.taskbar.pin with Microsoft and agrees to the terms of use.";

I want to note that for the Microsoft samples, I used the packaged versions, as the unpackaged ones do not work due to this bug.

I tested it on two computers, one with Win10 build 19045 and the other with Win11 24H2, and I get the same result. Is there a way to make it work or at least understand why the status is always "unavailable"?

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
827 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.

    1 deleted comment

    Comments have been turned off. Learn more

  2. Jeanine Zhang-MSFT 10,626 Reputation points Microsoft Vendor
    2025-02-17T02:39:09.1166667+00:00

    Unavailable: Indicates that the user does not have access to the feature.

    "Feature not available" message means that you have no permission, that is, there is a issue with the token.

    Both the app name and the publisher name are necessary, and the token is generated based on the two values.

    The app name and publisher name must be the same as those filled in when you applied for the token.

    I suggest you could double check the app name and the publisher name.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.