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

Community site session details

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

BC20 Convert-PermissionSets.psm1 error

(0) ShareShare
ReportReport
Posted on by

Hello

I would like to convert our costume permissions from database data to permission objects, but i am getting so many errors when i try to Import-Module -name "C:\Path\Convert-Permission Sets.psm1" library .



Regs.

Firas



error sample

At C:\Program Files\Microsoft Dynamics 365 Business Central\200\Service\Convert-PermissionSets.psm1:174 char:126
+ ... etails px-3 px-md-4 px-lg-5 flex-wrap flex-md-nowrap" role="banner" >
+ ~
Missing file specification after redirection operator.
At C:\Program Files\Microsoft Dynamics 365 Business Central\200\Service\Convert-PermissionSets.psm1:193 char:158
+ ... ent="true" class="Header-link js-details-target btn-link"> <svg aria ...
+ ~
The '<' operator is reserved for future use.
At C:\Program Files\Microsoft Dynamics 365 Business Central\200\Service\Convert-PermissionSets.psm1:197 char:14
+ </button> </div>
+ ~
The '<' operator is reserved for future use.
At C:\Program Files\Microsoft Dynamics 365 Business Central\200\Service\Convert-PermissionSets.psm1:440 char:31
+ data-analytics-event="{"category":"Header&quot ...
+ ~
Unexpected token '{' in expression or statement.
At C:\Program Files\Microsoft Dynamics 365 Business Central\200\Service\Convert-PermissionSets.psm1:440 char:46
+ data-analytics-event="{"category":"Header&quot ...
+ ~

I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    94,369 Super User 2025 Season 2 on at
    RE: BC20 Convert-PermissionSets.psm1 error

    Hi, Hopefully the link below can give you some hints.

    https://yzhums.com/12194/

    Thanks.

    ZHU

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: BC20 Convert-PermissionSets.psm1 error

    Hi Jun

    Thank you for answering me, I have seen your analysis before, what your are saying is the tool dose not work with onPremise version of BC!

    regs.

    Firas

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,071 Moderator on at
    RE: BC20 Convert-PermissionSets.psm1 error

    I think it should work for BC on premise as well.

    If you are not able to make it work you can raise a support ticket with Microsoft through your CSP partner.

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,921

#2
YUN ZHU Profile Picture

YUN ZHU 2,012 Super User 2025 Season 2

#3
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,999 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans