-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Component/s: Access Policies
-
3
-
Severity 3 - Minor
Issue Summary
When "Block mobile access" is enabled in Atlassian Admin > Access Policies, REST API requests made from a VBA script are also blocked with a 403 error. The policy appears to apply to all non-browser API calls regardless of the device type.
Steps to Reproduce
- Log in to Atlassian Admin at https://admin.atlassian.com
- Navigate to Security > Access Policies
- Set mobile access to "Block" for the target policy
- From a PC, execute a REST API call to the affected site using a VBA script
- Observe that a 403 error is returned
Expected Results
The "Block mobile access" policy should only restrict access from mobile devices. REST API requests originating from a PC should be processed successfully and return the expected data.
Actual Results
The below exception is returned in the API response:
{{}}
{"message":"You can't access this content because your admin applied a security policy that blocks access to apps in this organization.","status":403}
{{}}
Note: When mobile access is set to "Allow," the same REST API request from the same VBA script returns a successful response.
Workaround
- Specify an explicit user agent for the script/api tool
- or Change the mobile access setting to "Allow" in Access Policies. (Note that this removes the mobile access restriction entirely, which may conflict with the organization's security requirements.)
- is related to
-
ACCESS-2711 Support using the Firefox browser when "Block mobile access" is set in Access Policy
- Gathering Interest