diff --git a/components/application-mgt/io.entgra.application.mgt.core/src/main/java/io/entgra/application/mgt/core/identityserver/serviceprovider/impl/WSO2IAMSPApplicationService.java b/components/application-mgt/io.entgra.application.mgt.core/src/main/java/io/entgra/application/mgt/core/identityserver/serviceprovider/impl/WSO2IAMSPApplicationService.java
index 2dc5a91e27a..4c7936746dc 100644
--- a/components/application-mgt/io.entgra.application.mgt.core/src/main/java/io/entgra/application/mgt/core/identityserver/serviceprovider/impl/WSO2IAMSPApplicationService.java
+++ b/components/application-mgt/io.entgra.application.mgt.core/src/main/java/io/entgra/application/mgt/core/identityserver/serviceprovider/impl/WSO2IAMSPApplicationService.java
@@ -93,7 +93,7 @@ public class WSO2IAMSPApplicationService implements ISServiceProviderApplication
* @return constructed error message
*/
private String constructErrorMessage(HttpResponse response) {
- String msg = "Error occurred while calling SP Applications API";
+ String msg = "Error occurred while calling SP Applications API. Response status: " + response.getStatusLine().getStatusCode();
if (response.getStatusLine().getStatusCode() == HttpStatus.SC_UNAUTHORIZED) {
msg += ". Make sure provided identity Server credentials are valid";
}
diff --git a/features/device-mgt/org.wso2.carbon.device.mgt.basics.feature/src/main/resources/conf/mdm-ui-config.xml b/features/device-mgt/org.wso2.carbon.device.mgt.basics.feature/src/main/resources/conf/mdm-ui-config.xml
index 8c0d7bed76a..87ee501c52f 100644
--- a/features/device-mgt/org.wso2.carbon.device.mgt.basics.feature/src/main/resources/conf/mdm-ui-config.xml
+++ b/features/device-mgt/org.wso2.carbon.device.mgt.basics.feature/src/main/resources/conf/mdm-ui-config.xml
@@ -50,6 +50,7 @@
perm:app:publisher:service-provider:create
perm:app:publisher:service-provider:attach
perm:app:publisher:service-provider:detach
+ perm:app:publisher:service-provider:connect
perm:app:publisher:view
perm:app:publisher:update
perm:app:store:view
diff --git a/features/device-mgt/org.wso2.carbon.device.mgt.basics.feature/src/main/resources/conf_templates/templates/repository/conf/mdm-ui-config.xml.j2 b/features/device-mgt/org.wso2.carbon.device.mgt.basics.feature/src/main/resources/conf_templates/templates/repository/conf/mdm-ui-config.xml.j2
index 292234023cb..df649391a31 100644
--- a/features/device-mgt/org.wso2.carbon.device.mgt.basics.feature/src/main/resources/conf_templates/templates/repository/conf/mdm-ui-config.xml.j2
+++ b/features/device-mgt/org.wso2.carbon.device.mgt.basics.feature/src/main/resources/conf_templates/templates/repository/conf/mdm-ui-config.xml.j2
@@ -61,6 +61,7 @@
perm:app:publisher:service-provider:create
perm:app:publisher:service-provider:attach
perm:app:publisher:service-provider:detach
+ perm:app:publisher:service-provider:connect
perm:app:publisher:view
perm:app:publisher:update
perm:app:store:view