Symptoms

You have the following installation:

  • Odin Automation 6.0.7
  • Office 365 16.5 (or higher) and/or Azure CSP 3.0 (or higher)

When an Office 365 / Azure CSP order is placed through the control panel of Odin Automation, the No access rights granted to method error appears.

Resolution

Perform the following actions:

  1. Log on to the Odin Automation billing Application Server.
  2. Add the following strings into /usr/local/bm/conf/BM.methods.list:

    BM BMResourceActivationParams GetAPSPlanToken_API CUST_MAKE_PURCHASES
    BM BMResourceActivationParams GetAPSPlanToken_API ORDERS_CREATE
    
  3. Execute perl /usr/local/bm/tools/configure.pl.
  4. Execute service pba restart.
  5. Make sure the GetAPSPlanToken_API Odin Automation billing Public API method has the corresponding privileges:

    1. Log on to the Odin Automation billing Database Server.
    2. Connect to the database of Odin Automation billing.
    3. Execute the following SQL query:

       select A."MethodID", A."Name", C."PrivilegeID", C."Name" from "Method" A inner join "MethodToPrivilege" B on A."MethodID" = B."MethodID" inner join "Privilege" C on C."PrivilegeID" = B."PrivilegeID" where A."Name" = 'GetAPSPlanToken_API';
      

Internal content

Link on internal Article