Skip to main content

Notifications

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

BC20 Convert-PermissionSets.psm1 error

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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 ...
+ ~

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,748 Super User 2024 Season 1 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.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee 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
    YUN ZHU Profile Picture
    YUN ZHU 74,036 Super User 2024 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

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

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,359 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans