web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Permission issues

(7) ShareShare
ReportReport
Posted on by 273
i make permission set in which i give permission to table RIMD and page  has permission of execute and then assign permission set to user but still page not shown when i search from search icon and and when i give page id and table id from url it give error
Permission  issues : Sorry, the current permissions prevented the action. (TableData  Token Store Read: ) 2.Sorry, the current permissions prevented the action. (Page Token Store List  Token Store Execute: ALProject1)  Page  Token Store has to close.
 version used 
 "platform": "1.0.0.0",
  "application": "21.2.49946.49990",
I have the same question (0)
  • Mohamed Amine Mahmoudi Profile Picture
    26,428 Super User 2025 Season 2 on at
     
    Can you please share with us more details ?
     
    BR
  • LA-02071030-0 Profile Picture
    273 on at
    what kind of info you require 
  • LA-02071030-0 Profile Picture
    273 on at
    table 50100 "Charge Reason"
    {
        DataClassification = ToBeClassified;
        fields
        {
            field(1; "ID"; Code[20])
            {
                DataClassification = CustomerContent;
                Caption = 'ID';
                NotBlank = true;
            }
            field(2; "Charge Reason"; Text[100])
            {
                DataClassification = CustomerContent;
                Caption = 'Charge Reason';
            }
            field(3; "Charge"; Decimal)
            {
                DataClassification = CustomerContent;
                Caption = 'Charge';
            }
        }
        keys
        {
            key(PK; "ID")
            {
                Clustered = true;
            }
        }
    }
    page 50100 "Charge Reason List"
    {
        PageType = List;
        SourceTable = "Charge Reason";
        ApplicationArea = All;
        UsageCategory = Lists;
        Caption = 'Charge Reason List';
        layout
        {
            area(content)
            {
                repeater(Group)
                {
                    field("ID"; Rec."ID")
                    {
                        ApplicationArea = All;
                    }
                    field("Charge Reason"; Rec."Charge Reason")
                    {
                        ApplicationArea = All;
                    }
                    field("Charge"; Rec."Charge")
                    {
                        ApplicationArea = All;
                    }
                }
            }
        }
        actions
        {
            area(processing)
            {
                action(New)
                {
                    ApplicationArea = All;
                    Caption = 'New';
                    Image = New;
                    RunObject = page "Charge Reason Card";
                    RunPageMode = Create;
                }
            }
        }
    }
    page 50101 "Charge Reason Card"
    {
        PageType = Card;
        SourceTable = "Charge Reason";
        //ApplicationArea = All;
        Caption = 'Charge Reason Card';
        layout
        {
            area(content)
            {
                group("General")
                {
                    field("ID"; Rec."ID") { ApplicationArea = All; }
                    field("Charge Reason"; Rec."Charge Reason") { ApplicationArea = All; }
                    field("Charge"; Rec."Charge") { ApplicationArea = All; }
                }
            }
        }
    }
    permissionset 50100 "Charge Permissions"
    {
        Assignable = true;
        Caption = 'Charge Reason Permissions';
        Permissions =
            tabledata "Charge Reason" = RIMD, // Read, Insert, Modify, Delete
            table "Charge Reason" = X,        // Execute permission for table triggers
            page "Charge Reason List" = X,
            page "Charge Reason Card" = X;
    }


    and then from user i assign this permission set and then when i open card page, list page, table from business central it gives error 
    1. Sorry, the current permissions prevented the action. (Page Charge Reason Card Execute: ALProject1)
    Page View - Charge Reason Card has to close.
    2.Sorry, the current permissions prevented the action. (Page Charge Reason List Execute: ALProject1)
    Page Charge Reason List has to close.
    3.Sorry, the current permissions prevented the action. (TableData Charge Reason Read: )
  • Suggested answer
    Jainam M. Kothari Profile Picture
    15,639 Super User 2025 Season 2 on at
    Hello,
     
    The error is due to missing explicit permissions for the Token Store table and page in your permission set. Even though you've granted permissions to the RIMD table and assigned the permission set to the user, the page won't load unless you also include "TableData" Token Store with Read permission and Page Token Store with Execute permission.
     
    To resolve this, update the permission set with these entries, ensure object names and IDs are correct, republish the extension, and reassign the permission set. Using the Permission Recorder can help identify all required permissions automatically.
  • LA-02071030-0 Profile Picture
    273 on at
    permissionset 50100 "Charge Permissions"
    {
        Assignable = true;
        Caption = 'Charge Reason Permissions';
        Permissions =
            tabledata "Charge Reason" = RIMD, // Read, Insert, Modify, Delete
            table "Charge Reason" = X,        // Execute permission for table triggers
            page "Charge Reason List" = X,
            page "Charge Reason Card" = X;
    }
    i used table data but still it gives same error
     
  • Suggested answer
    YUN ZHU Profile Picture
    95,729 Super User 2025 Season 2 on at
    Is this the On-Pre version? What license are you using? In addition to permission issues, On-Pre may also have licensing issues.
    And BC21 has been out of support for more than a year. Please upgrade to the latest version as soon as possible.
     
    Thanks.
    ZHU

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,468

#2
YUN ZHU Profile Picture

YUN ZHU 923 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 607

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans